summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-20 00:05:06 +0100
committerAndreas Schneider <asn@samba.org>2011-10-06 12:15:27 +0200
commit1184e7de5947aa83209f14d07e14cf61c782710d (patch)
treea7508f40c931f3e4643968de24997aaaaf7d0927 /source3/lib
parentc682ee32b8155776f73665c5671fec0dee83a8ab (diff)
downloadsamba-1184e7de5947aa83209f14d07e14cf61c782710d.tar.gz
samba-1184e7de5947aa83209f14d07e14cf61c782710d.tar.bz2
samba-1184e7de5947aa83209f14d07e14cf61c782710d.zip
s3: Use the uid_wrapper
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c1
-rw-r--r--source3/lib/util_sec.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 2f7a55f48c..0aefd6d929 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -25,6 +25,7 @@
#include "system/capability.h"
#include "system/passwd.h"
#include "system/filesys.h"
+#include "lib/uid_wrapper/uid_wrapper.h"
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c
index d7984ac999..0e2eee44af 100644
--- a/source3/lib/util_sec.c
+++ b/source3/lib/util_sec.c
@@ -19,6 +19,7 @@
#ifndef AUTOCONF_TEST
#include "includes.h"
+#include "lib/uid_wrapper/uid_wrapper.h"
#else
/* we are running this code in autoconf test mode to see which type of setuid
function works */