Bug 648735 - Build fails without sys/types.h inclusion; r=cjones
authorLandry Breuil <landry@openbsd.org>
Tue, 20 Sep 2011 13:23:03 +0100
changeset 77191 3b19bf3e0b696d4e15dcab9d23fca422a53f40b1
parent 77190 f44151e039f6fb5ee213feb215ec49e7f7a3f8ed
child 77192 ea33ddde6adee9d4f0e205eadafc130e5c52a375
push id21187
push usermak77@bonardo.net
push dateWed, 21 Sep 2011 08:36:41 +0000
treeherdermozilla-central@3178f1c42505 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs648735
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 648735 - Build fails without sys/types.h inclusion; r=cjones /usr/include/fts.h:42: error: 'dev_t' does not name a type /usr/include/fts.h:45: error: 'size_t' does not name a type /usr/include/fts.h:73: error: 'size_t' does not name a type /usr/include/fts.h:74: error: 'size_t' does not name a type /usr/include/fts.h:76: error: 'ino_t' does not name a type /usr/include/fts.h:77: error: 'dev_t' does not name a type /usr/include/fts.h:78: error: 'nlink_t' does not name a type
ipc/chromium/src/base/file_util.h
--- a/ipc/chromium/src/base/file_util.h
+++ b/ipc/chromium/src/base/file_util.h
@@ -10,16 +10,17 @@
 
 #include "build/build_config.h"
 
 #if defined(OS_WIN)
 #include <windows.h>
 #elif defined(ANDROID)
 #include <sys/stat.h>
 #elif defined(OS_POSIX) 
+#include <sys/types.h>
 #include <fts.h>
 #include <sys/stat.h>
 #endif
 
 #include <stdio.h>
 
 #include <stack>
 #include <string>