diff --git a/cfg/posix.cfg b/cfg/posix.cfg
index a37842d0a..1c7ca1498 100644
--- a/cfg/posix.cfg
+++ b/cfg/posix.cfg
@@ -14,6 +14,27 @@
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+ 0:
+
+
+
+
+
+
diff --git a/test/cfg/posix.c b/test/cfg/posix.c
index 59090d3f8..fb3e3f92b 100644
--- a/test/cfg/posix.c
+++ b/test/cfg/posix.c
@@ -7,6 +7,7 @@
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
+#include
#include
#include // <- FILE
#include
@@ -29,6 +30,14 @@
#include
#include
+int nullPointer_aio_suspend(const struct aiocb *const aiocb_list[], int nitems, const struct timespec *restrict timeout)
+{
+ // cppcheck-suppress nullPointer
+ (void)aio_suspend(NULL, nitems, timeout);
+ // No warning is expected
+ return aio_suspend(aiocb_list, nitems, timeout);
+}
+
// Note: Since glibc 2.28, this function symbol is no longer available to newly linked applications.
void invalidFunctionArg_llseek(int fd, loff_t offset, int origin)
{