diff options
Diffstat (limited to 'lib/userspec.c')
-rw-r--r-- | lib/userspec.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/userspec.c b/lib/userspec.c index 474fb6062..a997c6ff4 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -22,6 +22,9 @@ # include <config.h> #endif +/* Specification. */ +#include "userspec.h" + #include <alloca.h> #include <stdio.h> @@ -41,7 +44,7 @@ # include <unistd.h> #endif -#include "userspec.h" +#include "strdup.h" #include "xalloc.h" #include "xstrtol.h" @@ -108,10 +111,6 @@ struct group *getgrgid (); of `digit' even when the host does not conform to POSIX. */ #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) -#ifndef strdup -char *strdup (); -#endif - /* Return nonzero if STR represents an unsigned decimal integer, otherwise return 0. */ |