summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingUtil.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-06-08 16:21:35 +0000
committerXinliang David Li <davidxl@google.com>2016-06-08 16:21:35 +0000
commit66a99f10ae0f54ae7c5233fe2b8eb393242dd90f (patch)
tree1e2de0411492697ce90c43eabaf8ba29e0905379 /lib/profile/InstrProfilingUtil.c
parentce56f0620eef877720f160ce037fc377c34dd7c2 (diff)
[profile] Pass extra build flags (feature enabling macros) to Darwin build
Differential Revision: http://reviews.llvm.org/D21119 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingUtil.c')
-rw-r--r--lib/profile/InstrProfilingUtil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/profile/InstrProfilingUtil.c b/lib/profile/InstrProfilingUtil.c
index f97004d41..e87ab7640 100644
--- a/lib/profile/InstrProfilingUtil.c
+++ b/lib/profile/InstrProfilingUtil.c
@@ -16,9 +16,7 @@
#else
#include <sys/stat.h>
#include <sys/types.h>
-#if defined(__linux__)
#include <unistd.h>
-#endif
#include <fcntl.h>
#include <errno.h>
#endif