summaryrefslogtreecommitdiff
path: root/tests/test_ppoll_static.c
diff options
context:
space:
mode:
authorjvoisin2025-10-28 16:59:43 +0100
committerjvoisin2025-10-28 17:54:01 +0100
commit8dcacb8b9473b59732f9d18310f31b002911efd2 (patch)
tree9bc1308c2e719ce05f5414f7e1c341a1cb96e48e /tests/test_ppoll_static.c
parente1b91283cde8d40429e3bbf60ae6db7d23bcec1a (diff)
Fix compilation under clang
Diffstat (limited to 'tests/test_ppoll_static.c')
-rw-r--r--tests/test_ppoll_static.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_ppoll_static.c b/tests/test_ppoll_static.c
index 186bafe..c5e0155 100644
--- a/tests/test_ppoll_static.c
+++ b/tests/test_ppoll_static.c
@@ -4,6 +4,7 @@
4#include <poll.h> 4#include <poll.h>
5 5
6int main(int argc, char** argv) { 6int main(int argc, char** argv) {
7#if !defined(__clang__)
7 struct pollfd buffer[12] = {0}; 8 struct pollfd buffer[12] = {0};
8 9
9 CHK_FAIL_START 10 CHK_FAIL_START
@@ -11,5 +12,6 @@ int main(int argc, char** argv) {
11 CHK_FAIL_END 12 CHK_FAIL_END
12 13
13 puts((const char*)buffer); 14 puts((const char*)buffer);
15#endif
14 return ret; 16 return ret;
15} 17}