patch-pmap_check_c 407 B

12345678910111213141516
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. * do not include tcpd.h, when hosts access disabled
  3. --- portmap_6.0.orig/pmap_check.c 2007-05-11 05:02:10.000000000 +0200
  4. +++ portmap_6.0/pmap_check.c 2009-04-24 12:26:06.041879543 +0200
  5. @@ -44,7 +44,9 @@
  6. #include <netinet/in.h>
  7. #include <rpc/rpcent.h>
  8. #endif
  9. +#ifdef HOSTS_ACCESS
  10. #include <tcpd.h>
  11. +#endif
  12. #include <arpa/inet.h>
  13. #include <grp.h>