- no much point conditionalizing something we can't live without
- just two places need, no point polluting include space everywhere
#include "system.h"
-
+#include <grp.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>
#include "debug.h"
AC_CHECK_HEADERS(locale.h)
AC_CHECK_HEADERS(limits.h)
-AC_CHECK_HEADERS(fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h)
+AC_CHECK_HEADERS(fcntl.h getopt.h memory.h netdb.h pwd.h utime.h)
AC_CHECK_HEADERS(sys/ipc.h sys/socket.h sys/select.h)
AC_CHECK_HEADERS(sys/types.h sys/stdtypes.h)
#include "system.h"
-/* just to put a marker in librpm.a */
-const char * const RPMVERSION = VERSION;
-
+#include <grp.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmstring.h>
#include "lib/misc.h"
-
#include "debug.h"
+/* just to put a marker in librpm.a */
+const char * const RPMVERSION = VERSION;
+
/* unameToUid(), uidTouname() and the group variants are really poorly
implemented. They really ought to use hash tables. I just made the
guess that most files would be owned by root or the same person/group
#include <getopt.h>
#endif
-#if HAVE_GRP_H
-#include <grp.h>
-#endif
-
#if HAVE_LIMITS_H
#include <limits.h>
#endif