summaryrefslogtreecommitdiff
path: root/lib/replace/system/capability.h
AgeCommit message (Collapse)AuthorFilesLines
2019-01-29replace: only include <sys/capability.h> with HAVE_POSIX_CAPABILITIESStefan Metzmacher1-0/+2
On FreeBSD <sys/capability.h> is a legacy wrapper to <sys/capsicum.h>, which implements something different. With FreeBSD 12 including <sys/capability.h> generates a compiler warning/error. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2011-02-03Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher1-4/+0
This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze
2011-02-02replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider1-0/+4
As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+55