From 263e75d051a437b252b47de14c225e75854fdf4e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 18 Mar 2006 11:59:55 +0000 Subject: - fix order of includes. --- libbb/bb_pwd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c index cbd72af2f..7d7600c52 100644 --- a/libbb/bb_pwd.c +++ b/libbb/bb_pwd.c @@ -7,7 +7,6 @@ * Licensed under the GPL v2, see the file LICENSE in this tarball. */ -#include "libbb.h" #ifdef L_bb_getgrgid /* Hacked by Tito Ragusa (c) 2004 to make it more @@ -27,6 +26,7 @@ * the program exits. */ +#include "libbb.h" #include "grp_.h" /* gets a groupname given a gid */ @@ -42,6 +42,7 @@ char * bb_getgrgid(char *group, long gid, int bufsize) #ifdef L_bb_xgetgrnam #include #include +#include "libbb.h" #include "pwd_.h" #include "grp_.h" @@ -62,6 +63,7 @@ long bb_xgetgrnam(const char *name) #ifdef L_bb_xgetpwnam #include #include +#include "libbb.h" #include "pwd_.h" #include "grp_.h" @@ -97,6 +99,7 @@ long bb_xgetpwnam(const char *name) * the program exits. */ +#include "libbb.h" #include "pwd_.h" /* gets a username given a uid */ @@ -126,6 +129,7 @@ char * bb_getpwuid(char *name, long uid, int bufsize) #include #include +#include "libbb.h" /* internal function for bb_getpwuid and bb_getgrgid */ @@ -148,6 +152,7 @@ char * bb_getug(char *buffer, char *idname, long id, int bufsize, char prefix) #ifdef L_get_ug_id /* indirect dispatcher for pwd helpers. */ #include +#include "libbb.h" extern unsigned long get_ug_id(const char *s, long (*__bb_getxxnam)(const char *)) -- cgit v1.2.3