projects/aports·blob master · refs

13 lines · 449 B

1Patch-Source: https://github.com/archlinux/svntogit-community/blob/packages/libdispatch/trunk/avoid-libkqueue.patch
2
3--- a/tests/dispatch_test.c
4+++ b/tests/dispatch_test.c
5@@ -30,7 +30,7 @@
6 #include <stdio.h>
7 #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
8 #include <unistd.h>
9-#if __has_include(<sys/event.h>)
10+#if __has_include(<sys/event.h>) && !defined(__linux__)
11 #define HAS_SYS_EVENT_H 1
12 #include <sys/event.h>
13 #else