aboutsummaryrefslogtreecommitdiffstats
path: root/community/libnsl/cdefs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libnsl/cdefs.patch')
-rw-r--r--community/libnsl/cdefs.patch28
1 files changed, 16 insertions, 12 deletions
diff --git a/community/libnsl/cdefs.patch b/community/libnsl/cdefs.patch
index dbbe800a34..a112b45bce 100644
--- a/community/libnsl/cdefs.patch
+++ b/community/libnsl/cdefs.patch
@@ -1,22 +1,25 @@
--- a/src/rpcsvc/nislib.h
+++ b/src/rpcsvc/nislib.h
-@@ -19,6 +19,7 @@
- #ifndef __RPCSVC_NISLIB_H__
- #define __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>
- #include <features.h>
-
- __BEGIN_DECLS
++
+ #ifndef __RPCSVC_NISLIB_H__
+ #define __RPCSVC_NISLIB_H__
+
--- a/src/rpcsvc/ypclnt.h
+++ b/src/rpcsvc/ypclnt.h
-@@ -20,6 +20,7 @@
- #ifndef __RPCSVC_YPCLNT_H__
- #define __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>
- #include <features.h>
+ #ifndef __RPCSVC_YPCLNT_H__
+ #define __RPCSVC_YPCLNT_H__
+
/* Some defines */
--- a/src/rpcsvc/ypupd.h
+++ b/src/rpcsvc/ypupd.h
@@ -25,6 +28,7 @@
#define __RPCSVC_YPUPD_H__
+#include <sys/cdefs.h>
- #include <features.h>
-
#include <rpc/rpc.h>
+
+ #define MAXMAPNAMELEN 255
+