aboutsummaryrefslogtreecommitdiffstats
path: root/community/libnsl/cdefs.patch
blob: a112b45bcea3fe39c1e7da4dfd87ec0851a1551b (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
33
34
--- a/src/rpcsvc/nislib.h
+++ b/src/rpcsvc/nislib.h
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <sys/cdefs.h>
+
 #ifndef	__RPCSVC_NISLIB_H__
 #define	__RPCSVC_NISLIB_H__

--- a/src/rpcsvc/ypclnt.h
+++ b/src/rpcsvc/ypclnt.h
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <sys/cdefs.h>
 
 #ifndef	__RPCSVC_YPCLNT_H__
 #define	__RPCSVC_YPCLNT_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 <rpc/rpc.h>
 
 #define MAXMAPNAMELEN 255