summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/libtrace/tracelib.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/runtime/libtrace/tracelib.c')
-rw-r--r--llvm/runtime/libtrace/tracelib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/runtime/libtrace/tracelib.c b/llvm/runtime/libtrace/tracelib.c
index 9fe5a7dd25c..6046f8a5b40 100644
--- a/llvm/runtime/libtrace/tracelib.c
+++ b/llvm/runtime/libtrace/tracelib.c
@@ -10,7 +10,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifndef sun
#include <stdint.h>
+#endif
/*===---------------------------------------------------------------------=====
* HASH FUNCTIONS
OpenPOWER on IntegriCloud