aboutsummaryrefslogtreecommitdiff
path: root/test/test-poll-oob.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-poll-oob.c')
-rw-r--r--test/test-poll-oob.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-poll-oob.c b/test/test-poll-oob.c
index 2a6da843..77ffe31e 100644
--- a/test/test-poll-oob.c
+++ b/test/test-poll-oob.c
@@ -202,4 +202,9 @@ TEST_IMPL(poll_oob) {
MAKE_VALGRIND_HAPPY();
return 0;
}
+
+#else
+
+typedef int file_has_no_tests; /* ISO C forbids an empty translation unit. */
+
#endif