[PATCH] Fix building InstrProfilingFile.c on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Wed Jun 11 09:56:00 PDT 2014
Hi joerg,
The removed #include is unnecessary as InstrProfiling.h takes care about declaring corresponding types either by #including <stdint.h> or by declaring them explicitly, which is the case for FreeBSD.
http://reviews.llvm.org/D4103
Files:
lib/profile/InstrProfilingFile.c
Index: lib/profile/InstrProfilingFile.c
===================================================================
--- lib/profile/InstrProfilingFile.c
+++ lib/profile/InstrProfilingFile.c
@@ -8,7 +8,6 @@
\*===----------------------------------------------------------------------===*/
#include "InstrProfiling.h"
-#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4103.10326.patch
Type: text/x-patch
Size: 394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140611/f40093ec/attachment.bin>
More information about the llvm-commits
mailing list