summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-07 18:39:57 -0400
committerAdam <Adam@anope.org>2010-09-07 18:39:57 -0400
commit3a97d196f9744a75a715cf3bc8bd0d36683e4ece (patch)
tree2774f41c34fdd2e5ce5a84262de2b42f665e5382 /include
parent7dfc8e8ee8f5355429763eac70fe694bf947eca3 (diff)
Fixed make strict build and cleaned up some warnings
Diffstat (limited to 'include')
-rw-r--r--include/services.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h
index 666f25225..93e0561ea 100644
--- a/include/services.h
+++ b/include/services.h
@@ -87,6 +87,7 @@
#include <winsock.h>
#include <windows.h>
#endif
+#define h_addr h_addr_list[0] /* for backwards compatability, see man gethostbyname */
#include <sys/stat.h> /* for umask() on some systems */
#include <sys/types.h>