diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-02 03:13:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:13 -0500 |
commit | 6148deca663f7b6504b044120b166d6c9ae28750 (patch) | |
tree | 77cde75020079440f070a2f4450623e28ae2dd07 /source4/include/system/network.h | |
parent | edbfc0f6e70150e321822365bf0eead2821551bd (diff) | |
download | samba-6148deca663f7b6504b044120b166d6c9ae28750.tar.gz samba-6148deca663f7b6504b044120b166d6c9ae28750.tar.bz2 samba-6148deca663f7b6504b044120b166d6c9ae28750.zip |
r3454: moved a few more things out if includes.h into the include/system/ include files.
this brings us down to about 11k lines of headers included with
includes.h, while still retaining the speed of building with pch
(This used to be commit 10188869ef072309ca580b8b933e172571fcdda7)
Diffstat (limited to 'source4/include/system/network.h')
-rw-r--r-- | source4/include/system/network.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/include/system/network.h b/source4/include/system/network.h index 8b9fe0bcc5..d380245865 100644 --- a/source4/include/system/network.h +++ b/source4/include/system/network.h @@ -62,3 +62,19 @@ #define inet_ntoa rep_inet_ntoa #endif +/* + * glibc on linux doesn't seem to have MSG_WAITALL + * defined. I think the kernel has it though.. + */ +#ifndef MSG_WAITALL +#define MSG_WAITALL 0 +#endif + +/* + * Some older systems seem not to have MAXHOSTNAMELEN + * defined. + */ +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 254 +#endif + |