* lib/defines.h: Do not include <config.h>. This complicate
undefining some configuration macros when the file is included multiple times. * libmisc/xgetXXbyYY.c, libmisc/xgetpwnam.c, libmisc/xgetpwuid.c, libmisc/xgetgrgid.c, libmisc/xgetgrnam.c, libmisc/xgetspnam.c: Include <config.h> from teh compiled C file, not the included getXXbyYY.c.
This commit is contained in:
@@ -49,6 +49,8 @@
|
||||
* This file provide wrapper to the getpwnam or getpwnam_r functions.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "pwio.h"
|
||||
|
||||
#define LOOKUP_TYPE struct passwd
|
||||
|
Reference in New Issue
Block a user