summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/options.h b/src/options.h
index 76c715cf3..32395fd5d 100644
--- a/src/options.h
+++ b/src/options.h
@@ -26,7 +26,12 @@
#include <string>
#if defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <cstdint>
+# if defined(__APPLE__)
+# include <tr1/cstdint>
+# else
+# include <cstdint>
+#endif
+
#else
#include <stdint.h>
#endif