From a3df4d57af18464f1f964d3d053ee75c36e6f226 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Feb 2010 08:57:14 +0100 Subject: fix compile for glibc build --- package/rpcbind/patches/patch-src_security_c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'package/rpcbind') diff --git a/package/rpcbind/patches/patch-src_security_c b/package/rpcbind/patches/patch-src_security_c index d7a5582d9..08a86565a 100644 --- a/package/rpcbind/patches/patch-src_security_c +++ b/package/rpcbind/patches/patch-src_security_c @@ -1,10 +1,15 @@ --- rpcbind-0.2.0.orig/src/security.c 2009-05-29 15:38:22.000000000 +0200 -+++ rpcbind-0.2.0/src/security.c 2010-02-06 01:55:37.383094004 +0100 -@@ -20,12 +20,38 @@ ++++ rpcbind-0.2.0/src/security.c 2010-02-27 19:57:02.000000000 +0100 +@@ -20,12 +20,28 @@ /* * XXX for special case checks in check_callit. */ -+#if defined(__UCLIBC__) +-#include +-#include +-#include +-#include +-#include +-#include + +#define MOUNTPROC_MNT 1 +#define MOUNTPROC_UMNT 3 @@ -27,15 +32,6 @@ +#define YPPROC_ALL 8 + +#define YPBINDPROC_SETDOM 2 -+ -+#else - #include - #include - #include - #include - #include - #include -+#endif #include "rpcbind.h" -- cgit v1.2.3