summaryrefslogtreecommitdiff
path: root/lib/replace/system
AgeCommit message (Collapse)AuthorFilesLines
2011-08-02Fix bug 7462 - Non-standard SA_RESETHAND is used in ...lib/tevent/tevent_sigJeremy Allison1-4/+0
Make SA_RESETHAND conditional on its existance. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Aug 1 22:03:45 CEST 2011 on sn-devel-104 (cherry picked from commit 0c67efdd68b9808542c090b9fd9920e4e37d85d0)
2011-06-17libreplace: include sys/file.h only when availableBjörn Jacke2-1/+3
thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460.
2010-05-11lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher1-0/+7
headers This is needed on SLES8. See bug 7196. metze (cherry picked from commit e06cf3950252a46486aa046a4552ed6ebff175b3) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-09-15libreplace: white space cleanupsBjörn Jacke2-12/+12
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-12s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett1-1/+5
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett
2009-06-08Add langinfo.h to the system/locale.hTimur I. Bakeyev2-1/+5
This patch for Samba4. It's not really inspired by any real need, just for the consistency. We define replace/system/locale.h as a generic header, that includes all locale related headers and we are using nl_langinfo at least in Samba3. So, it would be consistent to add yet another locale-related header to the set of locale.h headers. Here is the patch. With regards, Timur Bakeyev. 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-05-30nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner1-0/+1
Guenther
2009-04-20Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij1-0/+4
Windows.)
2009-04-20Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij1-0/+4
doesn't take a mode argument.
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 Vernooij19-0/+1573