- no much point conditionalizing something we can't live without
- just three places need, no point polluting include space everywhere
#include "system.h"
+#include <pwd.h>
#include <grp.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>
AC_CHECK_HEADERS(locale.h)
AC_CHECK_HEADERS(limits.h)
-AC_CHECK_HEADERS(fcntl.h getopt.h memory.h netdb.h pwd.h utime.h)
+AC_CHECK_HEADERS(fcntl.h getopt.h memory.h netdb.h utime.h)
AC_CHECK_HEADERS(sys/ipc.h sys/select.h)
AC_CHECK_HEADERS(sys/types.h sys/stdtypes.h)
#include "system.h"
+#include <pwd.h>
#include <grp.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmstring.h>
# include "system.h"
+# include <pwd.h>
# include <assert.h>
#define __alloca alloca
#include <netdb.h>
#endif
-#if HAVE_PWD_H
-#include <pwd.h>
-#endif
-
/* Take care of NLS matters. */
#if HAVE_LOCALE_H