summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-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