--- a/base/third_party/symbolize/symbolize.h
+++ b/base/third_party/symbolize/symbolize.h
@@ -58,6 +58,8 @@
 #include "config.h"
 #include "glog/logging.h"
 
+#include <sys/types.h>
+
 #ifdef HAVE_SYMBOLIZE
 
 #if defined(__ELF__)  // defined by gcc
