diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-08-14 06:25:26 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-08-14 06:25:26 +0000 |
commit | 2bb8f8ce4385336083caf353e5ac11e11457e6f8 (patch) | |
tree | 37c1adad5e92efe3fe39d14771b1e3d2c2b6b682 /source3 | |
parent | 3cf6cc6134960c99adb702b21394a4a607cfe30a (diff) | |
download | samba-2bb8f8ce4385336083caf353e5ac11e11457e6f8.tar.gz samba-2bb8f8ce4385336083caf353e5ac11e11457e6f8.tar.xz samba-2bb8f8ce4385336083caf353e5ac11e11457e6f8.zip |
define INADDR_NONE if not already defined
(This used to be commit 7446540017e29827900981cab5ae3a2f9f7b3ce6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 20eb850cd15..a65114f3de9 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 |