summaryrefslogtreecommitdiff
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
commit2bb8f8ce4385336083caf353e5ac11e11457e6f8 (patch)
tree37c1adad5e92efe3fe39d14771b1e3d2c2b6b682
parent3cf6cc6134960c99adb702b21394a4a607cfe30a (diff)
downloadsamba-2bb8f8ce4385336083caf353e5ac11e11457e6f8.tar.gz
samba-2bb8f8ce4385336083caf353e5ac11e11457e6f8.tar.bz2
samba-2bb8f8ce4385336083caf353e5ac11e11457e6f8.zip
define INADDR_NONE if not already defined
(This used to be commit 7446540017e29827900981cab5ae3a2f9f7b3ce6)
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 20eb850cd1..a65114f3de 100644
--- a/source3/include/includes.h
+++ b/source3/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