diff options
author | Andreas Schneider <asn@samba.org> | 2011-10-08 12:10:20 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-10-27 13:32:02 +0200 |
commit | 7b5fb7d9e88bf848173363f5a1e2a0f1db6c7293 (patch) | |
tree | 11e9fdc1edfd9e0433291f60a05e837b65e0c21c /source3 | |
parent | 2f65ae25df489028963825940274703100eb1365 (diff) | |
download | samba-7b5fb7d9e88bf848173363f5a1e2a0f1db6c7293.tar.gz samba-7b5fb7d9e88bf848173363f5a1e2a0f1db6c7293.tar.bz2 samba-7b5fb7d9e88bf848173363f5a1e2a0f1db6c7293.zip |
replace: Add don't include unistd.h directly and add uid_wrapper.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/pthreadpool/pthreadpool.c | 2 | ||||
-rw-r--r-- | source3/libsmb/smb_share_modes.c | 1 | ||||
-rw-r--r-- | source3/registry/reg_parse.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/source3/lib/pthreadpool/pthreadpool.c b/source3/lib/pthreadpool/pthreadpool.c index 42b550d7ed..c916dc0f8d 100644 --- a/source3/lib/pthreadpool/pthreadpool.c +++ b/source3/lib/pthreadpool/pthreadpool.c @@ -20,7 +20,6 @@ #include "config.h" #include <errno.h> #include <stdio.h> -#include <unistd.h> #include <stdlib.h> #include <string.h> #include <pthread.h> @@ -28,6 +27,7 @@ #include <assert.h> #include <fcntl.h> #include "system/time.h" +#include "system/filesys.h" #include "pthreadpool.h" #include "lib/util/dlinklist.h" diff --git a/source3/libsmb/smb_share_modes.c b/source3/libsmb/smb_share_modes.c index 7c0a6d2a4e..42640e0cea 100644 --- a/source3/libsmb/smb_share_modes.c +++ b/source3/libsmb/smb_share_modes.c @@ -24,6 +24,7 @@ License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#define UID_WRAPPER_NOT_REPLACE #include "includes.h" #include "system/filesys.h" #include "smb_share_modes.h" diff --git a/source3/registry/reg_parse.c b/source3/registry/reg_parse.c index f1258fca6d..a112572b55 100644 --- a/source3/registry/reg_parse.c +++ b/source3/registry/reg_parse.c @@ -34,12 +34,10 @@ #include "reg_format.h" #include <stdio.h> -#include <unistd.h> #include <wchar.h> #include <talloc.h> #include <stdbool.h> #include <string.h> -#include <sys/types.h> #include <regex.h> #include <assert.h> #include <stdint.h> |