From a39dc445fc0ccf03e22189699e4d6256658536f0 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 23 Dec 2009 13:15:59 +0200 Subject: Dont include grp.h from system.h, dont bother checking in configure either - no much point conditionalizing something we can't live without - just two places need, no point polluting include space everywhere --- lib/misc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/misc.c') diff --git a/lib/misc.c b/lib/misc.c index 3d7fc1463..55ad6faaa 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -4,16 +4,16 @@ #include "system.h" -/* just to put a marker in librpm.a */ -const char * const RPMVERSION = VERSION; - +#include #include #include #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 -- cgit v1.2.3