Fix wrong components

This commit is contained in:
Safa Arıman
2021-04-23 14:06:46 +03:00
parent 2ffa497030
commit 4744b1bf3a
15 changed files with 16 additions and 12 deletions
@@ -0,0 +1,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