aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-22 15:19:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-22 15:19:18 +0200
commitd657b1d00d41bf448a94f6a7c49cacd41c5fac0e (patch)
treefdada317be6e702a7fcd96422c31330185489d87
parent55c24924dd108bc4fc020fbd875839e9c692ffc1 (diff)
Tweak for Clang trunk with libstdc++
-rw-r--r--std-core.mxx5
-rw-r--r--std-regex.mxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/std-core.mxx b/std-core.mxx
index 47514f0..ace9b59 100644
--- a/std-core.mxx
+++ b/std-core.mxx
@@ -18,9 +18,12 @@
#elif defined(__GLIBCXX__)
# include <time.h>
# include <errno.h>
+# include <wchar.h> // struct tm forward declaration.
+# include <stdio.h>
+# include <string.h>
# include <strings.h>
# include <sys/types.h>
-# include <ext/atomicity.h> // Names with internal linkage.
+# include <ext/atomicity.h> // Names with internal linkage.
#elif defined(_LIBCPP_VERSION)
#endif
diff --git a/std-regex.mxx b/std-regex.mxx
index 40cfc36..7edfd94 100644
--- a/std-regex.mxx
+++ b/std-regex.mxx
@@ -38,6 +38,8 @@
# define _GLIBCXX_STD_FUNCTION_H // <bits/std_function.h>
# define _ALIGNED_BUFFER_H // <ext/aligned_buffer.h>
+# include <string.h>
+
# include <debug/assertions.h> // Missing include.
#elif defined(_LIBCPP_VERSION)
#endif