summaryrefslogtreecommitdiffstats
path: root/main/quagga/musl-fix-headers.patch
blob: 12e96ece3d66599412ffb1b19874292690711a9a (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
31
32
--- quagga-0.99.22.4.orig/lib/queue.h
+++ quagga-0.99.22.4/lib/queue.h
@@ -33,8 +33,6 @@
 #ifndef _SYS_QUEUE_H_
 #define	_SYS_QUEUE_H_
 
-#include <sys/cdefs.h>
-
 /*
  * This file defines four types of data structures: singly-linked lists,
  * singly-linked tail queues, lists and tail queues.
--- quagga-0.99.22.4.orig/lib/zebra.h
+++ quagga-0.99.22.4/lib/zebra.h
@@ -51,7 +51,6 @@
 #ifdef HAVE_STROPTS_H
 #include <stropts.h>
 #endif /* HAVE_STROPTS_H */
-#include <sys/fcntl.h>
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif /* HAVE_SYS_SELECT_H */
--- quagga-0.99.22.4.orig/isisd/include-netbsd/iso.h
+++ quagga-0.99.22.4/isisd/include-netbsd/iso.h
@@ -192,7 +192,7 @@
 #else
 /* user utilities definitions from the iso library */
 
-#ifdef SUNOS_5
+#ifndef __GLIBC__
 #define	__P(x)	x
 #define	__BEGIN_DECLS
 #define	__END_DECLS