We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57cdd5c commit 91546cdCopy full SHA for 91546cd
1 file changed
frankenphp.c
@@ -27,22 +27,22 @@
27
#include <stdio.h>
28
#include <stdlib.h>
29
#if defined(__linux__)
30
-#include <unistd.h>
31
#include <sys/prctl.h>
32
-#elif defined(__FreeBSD__)
33
#include <unistd.h>
+#elif defined(__FreeBSD__)
34
#include <pthread_np.h>
35
#include <sys/procctl.h>
36
-#elif defined(__OpenBSD__)
37
+#elif defined(__OpenBSD__)
38
+#include <unistd.h>
39
#endif
40
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || \
41
defined(__DragonFly__)
42
#define FRANKENPHP_KQUEUE_PARENT_DEATH 1
43
44
#include <sys/event.h>
45
#include <sys/types.h>
46
47
48
#include "_cgo_export.h"
0 commit comments