summaryrefslogtreecommitdiffstats
path: root/main/libbsd/musl-fix-headers.patch
blob: 0556884e710ffe533a666bb3f348b4df2a4ec02b (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
--- libbsd-0.6.0.orig/src/flopen.c
+++ libbsd-0.6.0/src/flopen.c
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 
 #include <errno.h>
+#include <fcntl.h>
 #include <stdarg.h>
 #include <unistd.h>
 #include <libutil.h>
--- libbsd-0.6.0.orig/src/nlist.c
+++ libbsd-0.6.0/src/nlist.c
@@ -37,10 +37,11 @@
 #include <sys/stat.h>
 #include <sys/file.h>
 #include <arpa/inet.h>
+#include <linux/a.out.h>
 
 #include <errno.h>
-#include <a.out.h>
 #include <stdio.h>
+#include <fcntl.h>
 #include <string.h>
 #include <unistd.h>