summarylogtreecommitdiffstats
path: root/avoid-libkqueue.patch
blob: dc482798f7aee25e1491a2e34be4e8adbfc86a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- tests/dispatch_test.c.orig
+++ tests/dispatch_test.c
@@ -30,7 +30,7 @@
 #include <stdio.h>
 #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
 #include <unistd.h>
-#if __has_include(<sys/event.h>)
+#if __has_include(<sys/event.h>) && !defined(__linux__)
 #define HAS_SYS_EVENT_H 1
 #include <sys/event.h>
 #else