aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-10 23:13:10 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-10 23:13:10 +0200
commit1c302f230c8416757a1509e1d9abbb210f2ec520 (patch)
tree840cf33aaeeda3f482919ffac9aaad5f81ed5eda /include
parentadd SCN* and PRI* constants (diff)
downloadslibc-1c302f230c8416757a1509e1d9abbb210f2ec520.tar.gz
slibc-1c302f230c8416757a1509e1d9abbb210f2ec520.tar.bz2
slibc-1c302f230c8416757a1509e1d9abbb210f2ec520.tar.xz
string.h may include strings.h
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 08777be..1c47efe 100644
--- a/include/string.h
+++ b/include/string.h
@@ -21,6 +21,11 @@
#include <slibc/features.h>
+#if (defined(_BSD_SOURCE) || defined(_GNU_SOURCE)) && !defined(__PORTABLE)
+# include <strings.h>
+#endif
+
+
/**
* `NULL`'s canonical header is <stddef.h>