r18056: includes needed for O_CREAT
authorAndrew Tridgell <tridge@samba.org>
Tue, 5 Sep 2006 02:05:36 +0000 (02:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:17:09 +0000 (14:17 -0500)
(This used to be commit 0b80ee8b3b17d4914010c9a54d5c2dcb69738990)

source4/lib/replace/replace.c

index 17a04c62396eefb6a03e8c0875d936766be073c0..b1154fb7a252f356a41853dbf6f4c412978bd5fd 100644 (file)
 
 #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) {}