about summary refs log tree commit diff
path: root/include/grp.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-03-06 09:32:52 -0500
committerRich Felker <dalias@aerifal.cx>2013-03-06 09:32:52 -0500
commitf44076181d25dd2401d182c111330b4290a9535c (patch)
tree05033e3625e11a41d86eda4d02c42eea6ae2ad3c /include/grp.h
parentda1442c9a8c58f8ad85a1bd96007f60bc372d157 (diff)
downloadmusl-f44076181d25dd2401d182c111330b4290a9535c.tar.gz
musl-f44076181d25dd2401d182c111330b4290a9535c.tar.xz
musl-f44076181d25dd2401d182c111330b4290a9535c.zip
fix missing type error in grp.h from adding fgetgrent
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grp.h b/include/grp.h
index cb40e07e..8e2e1f20 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -10,6 +10,10 @@ extern "C" {
 #define __NEED_size_t
 #define __NEED_gid_t
 
+#ifdef _GNU_SOURCE
+#define __NEED_FILE
+#endif
+
 #include <bits/alltypes.h>
 
 struct group