summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-14 06:25:26 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-14 06:25:26 +0000
commit7446540017e29827900981cab5ae3a2f9f7b3ce6 (patch)
tree86e4e2b79fbf7c432cf5b19952dd4d36bc167e3c /source/include/includes.h
parentb68e756ff57622c6c74f28031d4be964d7b1c9bc (diff)
downloadsamba-7446540017e29827900981cab5ae3a2f9f7b3ce6.tar.gz
samba-7446540017e29827900981cab5ae3a2f9f7b3ce6.tar.xz
samba-7446540017e29827900981cab5ae3a2f9f7b3ce6.zip
define INADDR_NONE if not already defined
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 20eb850cd15..a65114f3de9 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -428,6 +428,10 @@ union semun {
#define INADDR_LOOPBACK 0x7f000001
#endif
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
+
#ifndef HAVE_CRYPT
#define crypt ufc_crypt
#endif