summaryrefslogtreecommitdiff
path: root/lib/replace/system/network.h
AgeCommit message (Collapse)AuthorFilesLines
2010-12-12replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou1-3/+3
2010-04-24lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher1-0/+7
headers This is needed on SLES8. metze
2009-08-12libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)Matt Kraai1-0/+14
Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX 6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This prevents smbd from opening any sockets. If I undefine AI_ADDRCONFIG on such systems and allow lib/replace/system/network.h to define it to be 0, this works around the issue. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08replace: add fallback define for IOV_MAXStefan Metzmacher1-0/+16
This hopefully fixes the build on IRIX. metze
2009-03-11lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher1-0/+4
This should fix the build on some hosts. metze
2009-02-26libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher1-2/+4
-DSOCKET_WRAPPER_DISABLE=1 metze
2009-01-31lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher1-1/+5
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+332