diff options
author | Jim Meyering <jim@meyering.net> | 1998-05-10 16:04:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-05-10 16:04:39 +0000 |
commit | e7d6615b768b4762daf1e9a1ea8bd515c4617d04 (patch) | |
tree | bd8e84aaeaf87a85553b6d53dc58b77cee04ea78 /lib | |
parent | 91df5bbc4836ddb592243729e29c8f2bc806ed7a (diff) | |
download | coreutils-e7d6615b768b4762daf1e9a1ea8bd515c4617d04.tar.xz |
Don't declare strdup if it's defined as a macro.
Reported by Lorne Baker.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/userspec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/userspec.c b/lib/userspec.c index e73bee9c0..dd1d88a94 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -85,7 +85,9 @@ struct group *getgrgid (); #define isdigit(c) ((c) >= '0' && (c) <= '9') +#ifndef strdup char *strdup (); +#endif /* Return nonzero if STR represents an unsigned decimal integer, otherwise return 0. */ |