aboutsummaryrefslogtreecommitdiffstats
path: root/main/portmap/portmap-6.0-tcpd.patch
blob: c6af8f8c80b4468bea5ea039b487aad5597843e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Enable compile without tcp-wrappers

Patch by Timothy Redaelli <drizzt@gentoo.org>

http://bugs.gentoo.org/178242

--- portmap_6.0/pmap_check.c
+++ portmap_6.0/pmap_check.c
@@ -44,7 +44,9 @@
 #include <netinet/in.h>
 #include <rpc/rpcent.h>
 #endif
+#ifdef HOSTS_ACCESS
 #include <tcpd.h>
+#endif
 #include <arpa/inet.h>
 #include <grp.h>