diff options
author | Jim Meyering <jim@meyering.net> | 2000-04-29 09:25:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-04-29 09:25:09 +0000 |
commit | cf251ff75bd5d776be48d605884a1cf5c577a480 (patch) | |
tree | 6311284b055976d064cdb3bfe662c77227e28e1c /lib/path-concat.c | |
parent | f79c0f977ef67685fd6468295d0b39044dddbd43 (diff) | |
download | coreutils-cf251ff75bd5d776be48d605884a1cf5c577a480.tar.xz |
Declare strdup only if it's not defined.
Diffstat (limited to 'lib/path-concat.c')
-rw-r--r-- | lib/path-concat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/path-concat.c b/lib/path-concat.c index ac2c8b8d5..8c4bbb4e8 100644 --- a/lib/path-concat.c +++ b/lib/path-concat.c @@ -32,7 +32,9 @@ #include <sys/types.h> char *malloc (); +#ifndef strdup char *strdup (); +#endif #ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' |