summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/safestack/safestack.cc
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-24 18:16:05 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-24 18:16:05 +0000
commit19e86199f145ef42890b98024011ebbc201b2485 (patch)
treee79fef6a8cd27db8d6f6dc06ee95e8126ed1309a /compiler-rt/lib/safestack/safestack.cc
parent59128921f69698310ebced07ed55ff176c01c403 (diff)
downloadbcm5719-llvm-19e86199f145ef42890b98024011ebbc201b2485.tar.gz
bcm5719-llvm-19e86199f145ef42890b98024011ebbc201b2485.zip
SafeStack: Add another missing header to try to fix FreeBSD build.
llvm-svn: 240564
Diffstat (limited to 'compiler-rt/lib/safestack/safestack.cc')
-rw-r--r--compiler-rt/lib/safestack/safestack.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/safestack/safestack.cc b/compiler-rt/lib/safestack/safestack.cc
index 0e52c2ae1df..504bd3cd0d9 100644
--- a/compiler-rt/lib/safestack/safestack.cc
+++ b/compiler-rt/lib/safestack/safestack.cc
@@ -19,6 +19,7 @@
#include <stddef.h>
#include <stdint.h>
#include <sys/resource.h>
+#include <sys/types.h>
#include <sys/user.h>
#include "interception/interception.h"
OpenPOWER on IntegriCloud