aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm-c/lto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index 40110fd..d960617 100644
--- a/include/llvm-c/lto.h
+++ b/include/llvm-c/lto.h
@@ -16,7 +16,9 @@
#ifndef LLVM_C_LTO_H
#define LLVM_C_LTO_H
+#ifndef __cplusplus
#include <stdbool.h>
+#endif
#include <stddef.h>
#include <unistd.h>