From f44076181d25dd2401d182c111330b4290a9535c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 6 Mar 2013 09:32:52 -0500 Subject: [PATCH] fix missing type error in grp.h from adding fgetgrent --- include/grp.h | 4 ++++ 1 file changed, 4 insertions(+) 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 struct group -- 2.25.1