mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
14 lines
449 B
Diff
14 lines
449 B
Diff
Patch-Source: https://github.com/archlinux/svntogit-community/blob/packages/libdispatch/trunk/avoid-libkqueue.patch
|
|
|
|
--- a/tests/dispatch_test.c
|
|
+++ b/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
|