diff options
Diffstat (limited to 'missing/strftime.c')
-rw-r--r-- | missing/strftime.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/missing/strftime.c b/missing/strftime.c index 313b9d00a1..1e668ef2ae 100644 --- a/missing/strftime.c +++ b/missing/strftime.c @@ -39,7 +39,11 @@ #include <stdio.h> #include <ctype.h> -#include <string.h> +#if defined (HAVE_STRING_H) +# include <string.h> +#else /* !HAVE_STRING_H */ +# include <strings.h> +#endif /* !HAVE_STRING_H */ #include <time.h> #include <sys/types.h> #include <sys/time.h> |