diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-03 08:37:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-03 08:37:40 +0000 |
commit | e6d69926e64f2bcad6326f988beadf01cdbc1b93 (patch) | |
tree | 76fc8c3e4bbb68e57e69320cb43f69305faede8c | |
parent | 7e3bd1d8979ca5c5c9b6458096375c08873c027c (diff) | |
download | coreutils-e6d69926e64f2bcad6326f988beadf01cdbc1b93.tar.xz |
(!HAVE_DECL_STRNDUP): Declare strndup.
-rw-r--r-- | src/sys2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index 89af5bbcc..11fd05f4a 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -283,6 +283,10 @@ char *stpcpy (); # endif #endif +#if !HAVE_DECL_STRNDUP +char *strndup (); +#endif + #if !HAVE_DECL_STRSTR char *strstr (); #endif |