aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbsd/musl-fixes.patch
blob: d07f18cb1b2602d03d4489cb94ea5ae2cf272a4e (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
27
28
29
30
--- libbsd-0.8.3.orig/include/bsd/nlist.h
+++ libbsd-0.8.3/include/bsd/nlist.h
@@ -28,7 +28,7 @@
 #define LIBBSD_NLIST_H
 
 #include <sys/cdefs.h>
-#include <a.out.h>
+#include <linux/a.out.h>
 
 __BEGIN_DECLS
 extern int nlist(const char *filename, struct nlist *list);
--- libbsd-0.8.3.orig/src/funopen.c
+++ libbsd-0.8.3/src/funopen.c
@@ -138,5 +138,4 @@
 	return fopencookie(cookiewrap, mode, funcswrap);
 }
 #else
-#error "Function funopen() needs to be ported."
 #endif
--- libbsd-0.8.3.orig/src/nlist.c
+++ libbsd-0.8.3/src/nlist.c
@@ -40,7 +40,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
-#include <a.out.h>
+#include <linux/a.out.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>