cannelloni: needs dynamic library
[buildroot-gz.git] / package / portmap / 0005-tcpd.patch
blobc6af8f8c80b4468bea5ea039b487aad5597843e9
1 Enable compile without tcp-wrappers
3 Patch by Timothy Redaelli <drizzt@gentoo.org>
5 http://bugs.gentoo.org/178242
7 --- portmap_6.0/pmap_check.c
8 +++ portmap_6.0/pmap_check.c
9 @@ -44,7 +44,9 @@
10 #include <netinet/in.h>
11 #include <rpc/rpcent.h>
12 #endif
13 +#ifdef HOSTS_ACCESS
14 #include <tcpd.h>
15 +#endif
16 #include <arpa/inet.h>
17 #include <grp.h>