summaryrefslogtreecommitdiffstats
path: root/llvm/include/Config/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/Config/stdlib.h')
-rw-r--r--llvm/include/Config/stdlib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/include/Config/stdlib.h b/llvm/include/Config/stdlib.h
new file mode 100644
index 00000000000..8767cc4b92c
--- /dev/null
+++ b/llvm/include/Config/stdlib.h
@@ -0,0 +1,18 @@
+/*
+ * Header file: stdlib.h
+ *
+ * Description:
+ * This header file is the autoconf replacement for stdlib.h (if it lives
+ * on the system).
+ */
+
+#ifndef _CONFIG_STDLIB_H
+#define _CONFIG_STDLIB_H
+
+#include "Config/config.h"
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#endif
OpenPOWER on IntegriCloud