aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorGravatar Glenn L McGrath <bug1@ihug.co.nz>2002-12-07 23:14:40 +0000
committerGravatar Glenn L McGrath <bug1@ihug.co.nz>2002-12-07 23:14:40 +0000
commit4e05b9b0431aff7b44f57c333288401caaf86300 (patch)
tree82036519c3af41b6bc4bca084384320fc2c6d6e3 /libpwdgrp
parent0325a1c9e3ef37017d4eeac7f61300a28fe4dc5b (diff)
downloadbusybox-4e05b9b0431aff7b44f57c333288401caaf86300.tar.gz
busybox-4e05b9b0431aff7b44f57c333288401caaf86300.tar.bz2
include "busybox" after the libc includes tofix compile errors
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/__getgrent.c4
-rw-r--r--libpwdgrp/__getpwent.c4
-rw-r--r--libpwdgrp/getpwuid.c4
-rw-r--r--libpwdgrp/pwent.c3
-rw-r--r--libpwdgrp/shadow.c4
5 files changed, 9 insertions, 10 deletions
diff --git a/libpwdgrp/__getgrent.c b/libpwdgrp/__getgrent.c
index 5fb4193cb..392301048 100644
--- a/libpwdgrp/__getgrent.c
+++ b/libpwdgrp/__getgrent.c
@@ -18,11 +18,11 @@
*
*/
-#include "busybox.h"
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+
+#include "busybox.h"
#include "grp_.h"
/*
diff --git a/libpwdgrp/__getpwent.c b/libpwdgrp/__getpwent.c
index d553250f4..1b38c27ef 100644
--- a/libpwdgrp/__getpwent.c
+++ b/libpwdgrp/__getpwent.c
@@ -18,13 +18,13 @@
*
*/
-#include "busybox.h"
-
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
+
#include "pwd_.h"
+#include "busybox.h"
#define PWD_BUFFER_SIZE 256
diff --git a/libpwdgrp/getpwuid.c b/libpwdgrp/getpwuid.c
index 819c874ac..23ff3aa88 100644
--- a/libpwdgrp/getpwuid.c
+++ b/libpwdgrp/getpwuid.c
@@ -18,12 +18,12 @@
*
*/
-#include "busybox.h"
-
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+
#include "pwd_.h"
+#include "busybox.h"
struct passwd *getpwuid(uid_t uid)
{
diff --git a/libpwdgrp/pwent.c b/libpwdgrp/pwent.c
index 1f4239741..133fa4564 100644
--- a/libpwdgrp/pwent.c
+++ b/libpwdgrp/pwent.c
@@ -18,14 +18,13 @@
*
*/
-#include "busybox.h"
-
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include "pwd_.h"
#include <fcntl.h>
+#include "busybox.h"
/*
* setpwent(), endpwent(), and getpwent() are included in the same object
* file, since one cannot be used without the other two, so it makes sense to
diff --git a/libpwdgrp/shadow.c b/libpwdgrp/shadow.c
index c79417383..2d2b108f2 100644
--- a/libpwdgrp/shadow.c
+++ b/libpwdgrp/shadow.c
@@ -33,12 +33,12 @@
* lckpwdf ulckpwdf
*/
-#include "busybox.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+
+#include "busybox.h"
#include "shadow_.h"
static FILE *shadow;