summaryrefslogtreecommitdiff
path: root/lib/safestack
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
commitfd44c3ca2e0cd053550cbbfc4d8689084cf330a8 (patch)
treebf6053f3f1a84eb04d770444bc5f866c9b0d9570 /lib/safestack
parenta6c41a7c04e1bf88301da02452076813a7b714f7 (diff)
downloadcompiler-rt-fd44c3ca2e0cd053550cbbfc4d8689084cf330a8.tar.gz
SafeStack: Add another missing header to try to fix FreeBSD build.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@240564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/safestack')
-rw-r--r--lib/safestack/safestack.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/safestack/safestack.cc b/lib/safestack/safestack.cc
index 0e52c2ae1..504bd3cd0 100644
--- a/lib/safestack/safestack.cc
+++ b/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"