summaryrefslogtreecommitdiff
path: root/src/passwd
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-12-12 05:09:18 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-12-12 05:09:18 +0000
commit571744447c23f91feb6439948f3a619aca850dfb (patch)
tree996c6f90721d69494683ae213ec22784d02a899a /src/passwd
parentac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff)
downloadmusl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz
musl-571744447c23f91feb6439948f3a619aca850dfb.tar.bz2
musl-571744447c23f91feb6439948f3a619aca850dfb.tar.xz
musl-571744447c23f91feb6439948f3a619aca850dfb.zip
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/passwd')
-rw-r--r--src/passwd/fgetgrent.c1
-rw-r--r--src/passwd/fgetpwent.c1
-rw-r--r--src/passwd/putgrent.c1
-rw-r--r--src/passwd/putpwent.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/passwd/fgetgrent.c b/src/passwd/fgetgrent.c
index 2f18d925..d8d1c773 100644
--- a/src/passwd/fgetgrent.c
+++ b/src/passwd/fgetgrent.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include "pwf.h"
struct group *fgetgrent(FILE *f)
diff --git a/src/passwd/fgetpwent.c b/src/passwd/fgetpwent.c
index e95fdb2c..eb47b2a1 100644
--- a/src/passwd/fgetpwent.c
+++ b/src/passwd/fgetpwent.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include "pwf.h"
struct passwd *fgetpwent(FILE *f)
diff --git a/src/passwd/putgrent.c b/src/passwd/putgrent.c
index 6f26c051..a0b320fc 100644
--- a/src/passwd/putgrent.c
+++ b/src/passwd/putgrent.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <grp.h>
#include <stdio.h>
diff --git a/src/passwd/putpwent.c b/src/passwd/putpwent.c
index 80fbf384..3a02e573 100644
--- a/src/passwd/putpwent.c
+++ b/src/passwd/putpwent.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
#include <pwd.h>
#include <stdio.h>