Fixup the location of pwd.h and grp.h
This commit is contained in:
parent
bfebd35bea
commit
1a10eec178
@ -29,8 +29,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
#include "pwd_grp/pwd.h"
|
#include "pwd.h"
|
||||||
#include "pwd_grp/grp.h"
|
#include "grp.h"
|
||||||
|
|
||||||
/*struct passwd *getpwnam();*/
|
/*struct passwd *getpwnam();*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <pwd.h>
|
#include "pwd.h"
|
||||||
|
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <pwd.h>
|
#include "pwd.h"
|
||||||
|
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
#include <pwd.h>
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@ -107,6 +106,7 @@
|
|||||||
#include <sys/times.h>
|
#include <sys/times.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
#include "pwd.h"
|
||||||
|
|
||||||
|
|
||||||
#if !defined(FNMATCH_BROKEN)
|
#if !defined(FNMATCH_BROKEN)
|
||||||
@ -12627,7 +12627,7 @@ findvar(struct var **vpp, const char *name)
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
||||||
* This file contains code for the times builtin.
|
* This file contains code for the times builtin.
|
||||||
* $Id: ash.c,v 1.30 2001/10/24 08:01:06 andersen Exp $
|
* $Id: ash.c,v 1.31 2001/10/24 17:19:35 andersen Exp $
|
||||||
*/
|
*/
|
||||||
static int timescmd (int argc, char **argv)
|
static int timescmd (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR
|
#ifdef CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR
|
||||||
# ifndef TEST
|
# ifndef TEST
|
||||||
# include "pwd_grp/pwd.h"
|
# include "pwd.h"
|
||||||
# else
|
# else
|
||||||
# include <pwd.h>
|
# include <pwd.h>
|
||||||
# endif /* TEST */
|
# endif /* TEST */
|
||||||
|
Loading…
Reference in New Issue
Block a user