summaryrefslogtreecommitdiffstats
path: root/patches/portmap_6.0/portmap_6.0-fix-disable-tcpwrapper.diff
blob: 9c5b4c4b1c5e6f768867d7b6d96b201cf9cd954d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
 pmap_check.c |    2 ++
 1 file changed, 2 insertions(+)

Index: b/pmap_check.c
===================================================================
--- a/pmap_check.c
+++ b/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>