summaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-09-27 18:24:44 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-09-27 18:24:44 +0200
commit8baacd6ef4ec866c96f40c47f30342b09ebe3a74 (patch)
tree895e6733c85b9e1a26f2b44bf64206f926bbf8c0 /include/compat.h
parente164675ed98468350a78fa69ca4d18670959c200 (diff)
Add the insp::aligned_storage template
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index 9302c573f..e7719bcd7 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -28,9 +28,11 @@
#if defined _LIBCPP_VERSION || defined _WIN32
# define TR1NS std
# include <unordered_map>
+# include <type_traits>
#else
# define TR1NS std::tr1
# include <tr1/unordered_map>
+# include <tr1/type_traits>
#endif
/**