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
--- 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>