summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-11-11 11:05:21 +0100
committerAlexander Barton <alex@barton.de>2012-11-11 11:05:21 +0100
commite29d198700a9e1c026d7f4b2601d127045adbe53 (patch)
treedbd35b465865eaaa3375d0055ae1f26afde22aab /src
parent6f531a3c99ca267370b8f77cd3e51d751fb48826 (diff)
downloadngircd-e29d198700a9e1c026d7f4b2601d127045adbe53.tar.gz
ngircd-e29d198700a9e1c026d7f4b2601d127045adbe53.zip
tool.h: Don't check for and #define PF_INET
This is correctly handled by ipaddr/ng_ipaddr.h today, and the check
in tool.h isn't required any more -- and caused errors on OpenBSD 5.0:

  In file included from ./../tool/tool.h:23:
  /usr/include/arpa/inet.h:74:
    warning: "struct in_addr" declared inside parameter list
Diffstat (limited to 'src')
-rw-r--r--src/tool/tool.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tool/tool.h b/src/tool/tool.h
index 9fa19e55..b05649a9 100644
--- a/src/tool/tool.h
+++ b/src/tool/tool.h
@@ -19,12 +19,6 @@
 
 #include "portab.h"
 
-#ifdef HAVE_ARPA_INET_H
-# include <arpa/inet.h>
-#else
-# define PF_INET AF_INET
-#endif
-
 GLOBAL void ngt_TrimLastChr PARAMS((char *String, const char Chr ));
 
 GLOBAL void ngt_TrimStr PARAMS((char *String ));