aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsyslog/musl-fix-headers.patch
blob: a6dafc428a77835a0e7415ad718da74f6b2dcccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- ./tools/omfile.c.orig
+++ ./tools/omfile.c
@@ -47,10 +47,7 @@
 #include <ctype.h>
 #include <libgen.h>
 #include <unistd.h>
-#include <sys/file.h>
-#ifdef OS_SOLARIS
-#	include <fcntl.h>
-#endif
+#include <fcntl.h>
 #ifdef HAVE_ATOMIC_BUILTINS
 #	include <pthread.h>
 #endif
--- ./tools/pidfile.c.orig
+++ ./tools/pidfile.c
@@ -36,9 +36,7 @@
 #include <string.h>
 #include <errno.h>
 #include <signal.h>
-#ifdef __sun
 #include <fcntl.h>
-#endif
 
 #include "srUtils.h"