aboutsummaryrefslogtreecommitdiffstats
path: root/community/libnsl/cdefs.patch
blob: dbbe800a347956fd47f0da3ec3c281afdd67f35b (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
--- a/src/rpcsvc/nislib.h
+++ b/src/rpcsvc/nislib.h
@@ -19,6 +19,7 @@
 #ifndef	__RPCSVC_NISLIB_H__
 #define	__RPCSVC_NISLIB_H__
 
+#include <sys/cdefs.h>
 #include <features.h>
 
 __BEGIN_DECLS
--- a/src/rpcsvc/ypclnt.h
+++ b/src/rpcsvc/ypclnt.h
@@ -20,6 +20,7 @@
 #ifndef	__RPCSVC_YPCLNT_H__
 #define	__RPCSVC_YPCLNT_H__
 
+#include <sys/cdefs.h>
 #include <features.h>
 
 /* Some defines */
--- a/src/rpcsvc/ypupd.h
+++ b/src/rpcsvc/ypupd.h
@@ -33,6 +33,7 @@
 #ifndef __RPCSVC_YPUPD_H__
 #define __RPCSVC_YPUPD_H__
 
+#include <sys/cdefs.h>
 #include <features.h>
 
 #include <rpc/rpc.h>