define INADDR_NONE if not already defined
authorAndrew Tridgell <tridge@samba.org>
Fri, 14 Aug 1998 06:25:26 +0000 (06:25 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 14 Aug 1998 06:25:26 +0000 (06:25 +0000)
(This used to be commit 7446540017e29827900981cab5ae3a2f9f7b3ce6)

source3/include/includes.h

index 20eb850cd15620bd6b232490caea6fe1990a8bbb..a65114f3de941f0731163354225f28c209a229a7 100644 (file)
@@ -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