summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/pwd_grp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-21 23:33:29 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-21 23:33:29 +0000
commitacbd270e3706b8ce260cef6056454ed1f75fd4b1 (patch)
treed2298d38a2ade87aad66c6c1bd14e5fdb724b951 /libc/pwd_grp/pwd_grp.c
parent80912f34883fb01c3a75db92821c9dc3d86ad322 (diff)
include headers only if the related option is enabled
Diffstat (limited to 'libc/pwd_grp/pwd_grp.c')
-rw-r--r--libc/pwd_grp/pwd_grp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c
index 91c0d83f5..e56b545d6 100644
--- a/libc/pwd_grp/pwd_grp.c
+++ b/libc/pwd_grp/pwd_grp.c
@@ -41,7 +41,10 @@
#include <ctype.h>
#include <pwd.h>
#include <grp.h>
+#include <paths.h>
+#ifdef __HAS_SHADOW__
#include <shadow.h>
+#endif
#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>
#endif