diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-06-28 12:23:28 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-06-28 12:23:28 +0000 |
commit | 983fbdb2d95bfceda513d25f2e0490f114a85548 (patch) | |
tree | 0becdfb4c7a8a9e3a60236c123e508a5cfefb1ab | |
parent | 2d7646424aa11759e0c1da2a9b6f98c01e7de88e (diff) | |
download | cpio-983fbdb2d95bfceda513d25f2e0490f114a85548.tar.gz cpio-983fbdb2d95bfceda513d25f2e0490f114a85548.tar.bz2 |
Include xalloc.h
-rw-r--r-- | src/idcache.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/idcache.c b/src/idcache.c index c524eea..1e57dd3 100644 --- a/src/idcache.c +++ b/src/idcache.c @@ -25,6 +25,7 @@ #include <sys/types.h> #include <pwd.h> #include <grp.h> +#include <xalloc.h> #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) #include <string.h> @@ -32,18 +33,7 @@ #include <strings.h> #endif -#ifdef HAVE_UNISTD_H #include <unistd.h> -#endif -#ifndef _POSIX_VERSION -struct passwd *getpwuid (); -struct passwd *getpwnam (); -struct group *getgrgid (); -struct group *getgrnam (); -#endif - -char *xmalloc (); -char *xstrdup (); struct userid { |