summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-05 02:05:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:09 -0500
commite057ef3c6f97f85b846add87aebf97c24170c55f (patch)
treeecd8258de4b87e41b606b93da7cdc997ee1da589 /source4/lib/replace
parenta587277aa31dcb9dc46e02e165e2c4ebb6e2be1a (diff)
downloadsamba-e057ef3c6f97f85b846add87aebf97c24170c55f.tar.gz
samba-e057ef3c6f97f85b846add87aebf97c24170c55f.tar.bz2
samba-e057ef3c6f97f85b846add87aebf97c24170c55f.zip
r18056: includes needed for O_CREAT
(This used to be commit 0b80ee8b3b17d4914010c9a54d5c2dcb69738990)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/replace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index 17a04c6239..b1154fb7a2 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/lib/replace/replace.c
@@ -26,8 +26,10 @@
#include <stdlib.h>
#include <unistd.h>
-#include <sys/stat.h>
#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <fcntl.h>
void replace_dummy(void);
void replace_dummy(void) {}