[compiler-rt] r240564 - SafeStack: Add another missing header to try to fix FreeBSD build.

Peter Collingbourne peter at pcc.me.uk
Wed Jun 24 11:16:06 PDT 2015


Author: pcc
Date: Wed Jun 24 13:16:05 2015
New Revision: 240564

URL: http://llvm.org/viewvc/llvm-project?rev=240564&view=rev
Log:
SafeStack: Add another missing header to try to fix FreeBSD build.

Modified:
    compiler-rt/trunk/lib/safestack/safestack.cc

Modified: compiler-rt/trunk/lib/safestack/safestack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/safestack/safestack.cc?rev=240564&r1=240563&r2=240564&view=diff
==============================================================================
--- compiler-rt/trunk/lib/safestack/safestack.cc (original)
+++ compiler-rt/trunk/lib/safestack/safestack.cc Wed Jun 24 13:16:05 2015
@@ -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"





More information about the llvm-commits mailing list