diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 6 | ||||
-rw-r--r-- | source3/include/proto.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 5d5fd7fd55..90358ce49a 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -220,6 +220,7 @@ Here come some platform specific sections #define HAVE_BZERO #define HAVE_MEMMOVE #define USE_SIGPROCMASK +#define USE_WAITPID #if 0 /* SETFS disabled until we can check on some bug reports */ #if _LINUX_C_LIB_VERSION_MAJOR >= 5 @@ -258,6 +259,7 @@ typedef unsigned short mode_t; #define REPLACE_GETPASS #define BSD_TERMIO #define USE_SIGPROCMASK +#define USE_WAITPID #endif @@ -1080,6 +1082,10 @@ it works and getting lots of bug reports */ #define SIGCLD SIGCHLD #endif +#ifndef MAP_FILE +#define MAP_FILE 0 +#endif + #ifndef HAVE_FCNTL_LOCK #define HAVE_FCNTL_LOCK 1 #endif diff --git a/source3/include/proto.h b/source3/include/proto.h index 8b26aa062f..779f6bd87e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -754,6 +754,7 @@ int sys_unlink(char *fname); int sys_open(char *fname,int flags,int mode); DIR *sys_opendir(char *dname); int sys_stat(char *fname,struct stat *sbuf); +int sys_waitpid(pid_t pid,int *status,int options); int sys_lstat(char *fname,struct stat *sbuf); int sys_mkdir(char *dname,int mode); int sys_rmdir(char *dname); |