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