diff options
author | Jim Meyering <jim@meyering.net> | 2000-03-17 19:34:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-03-17 19:34:16 +0000 |
commit | 00a6ef7e2e75238cc2c9ca469b73b64c45b30613 (patch) | |
tree | abaf769eebe35b71777c5a69b54a594a8d4f585e /lib | |
parent | 03bc0dd04d7297b5f1d04faaafcc00e05102cbe0 (diff) | |
download | coreutils-00a6ef7e2e75238cc2c9ca469b73b64c45b30613.tar.xz |
(<string.h>): Include only #if HAVE_STRING_H.
Otherwise, include <strings.h>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicodeio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/unicodeio.c b/lib/unicodeio.c index 148d64ea6..9948a4eb5 100644 --- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -28,7 +28,11 @@ #endif #include <stdio.h> -#include <string.h> +#if HAVE_STRING_H +# include <string.h> +#else +# include <strings.h> +#endif #include <errno.h> #ifndef errno |