aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-07 23:14:40 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-07 23:14:40 +0000
commit4e05b9b0431aff7b44f57c333288401caaf86300 (patch)
tree82036519c3af41b6bc4bca084384320fc2c6d6e3 /libpwdgrp
parent0325a1c9e3ef37017d4eeac7f61300a28fe4dc5b (diff)
downloadbusybox-w32-4e05b9b0431aff7b44f57c333288401caaf86300.tar.gz
busybox-w32-4e05b9b0431aff7b44f57c333288401caaf86300.tar.bz2
busybox-w32-4e05b9b0431aff7b44f57c333288401caaf86300.zip
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 @@
18 * 18 *
19 */ 19 */
20 20
21#include "busybox.h"
22
23#include <unistd.h> 21#include <unistd.h>
24#include <stdlib.h> 22#include <stdlib.h>
25#include <string.h> 23#include <string.h>
24
25#include "busybox.h"
26#include "grp_.h" 26#include "grp_.h"
27 27
28/* 28/*
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 @@
18 * 18 *
19 */ 19 */
20 20
21#include "busybox.h"
22
23#include <stdlib.h> 21#include <stdlib.h>
24#include <unistd.h> 22#include <unistd.h>
25#include <string.h> 23#include <string.h>
26#include <fcntl.h> 24#include <fcntl.h>
25
27#include "pwd_.h" 26#include "pwd_.h"
27#include "busybox.h"
28 28
29#define PWD_BUFFER_SIZE 256 29#define PWD_BUFFER_SIZE 256
30 30
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 @@
18 * 18 *
19 */ 19 */
20 20
21#include "busybox.h"
22
23#include <stdlib.h> 21#include <stdlib.h>
24#include <unistd.h> 22#include <unistd.h>
25#include <fcntl.h> 23#include <fcntl.h>
24
26#include "pwd_.h" 25#include "pwd_.h"
26#include "busybox.h"
27 27
28struct passwd *getpwuid(uid_t uid) 28struct passwd *getpwuid(uid_t uid)
29{ 29{
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 @@
18 * 18 *
19 */ 19 */
20 20
21#include "busybox.h"
22
23#include <unistd.h> 21#include <unistd.h>
24#include <stdlib.h> 22#include <stdlib.h>
25#include <errno.h> 23#include <errno.h>
26#include "pwd_.h" 24#include "pwd_.h"
27#include <fcntl.h> 25#include <fcntl.h>
28 26
27#include "busybox.h"
29/* 28/*
30 * setpwent(), endpwent(), and getpwent() are included in the same object 29 * setpwent(), endpwent(), and getpwent() are included in the same object
31 * file, since one cannot be used without the other two, so it makes sense to 30 * 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 @@
33 * lckpwdf ulckpwdf 33 * lckpwdf ulckpwdf
34 */ 34 */
35 35
36#include "busybox.h"
37
38#include <stdio.h> 36#include <stdio.h>
39#include <stdlib.h> 37#include <stdlib.h>
40#include <string.h> 38#include <string.h>
41#include <unistd.h> 39#include <unistd.h>
40
41#include "busybox.h"
42#include "shadow_.h" 42#include "shadow_.h"
43 43
44static FILE *shadow; 44static FILE *shadow;