Merge "Ensure <fcntl.h> defines the S_* constants from <sys/stat.h>."
authorElliott Hughes <enh@google.com>
Mon, 29 Dec 2014 19:40:44 +0000 (19:40 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Mon, 29 Dec 2014 19:40:45 +0000 (19:40 +0000)
libc/include/fcntl.h

index 1089788078b14d48feb100ade8d805641b9beb30..b18ab1216a4ed1a978997dba04ac7a1de30d4181 100644 (file)
@@ -33,6 +33,7 @@
 #include <sys/types.h>
 #include <linux/fadvise.h>
 #include <linux/fcntl.h>
+#include <linux/stat.h>
 #include <linux/uio.h>
 #include <unistd.h>  /* this is not required, but makes client code much happier */