diff options
-rw-r--r-- | include/string.h | 5 |
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> |