aboutsummaryrefslogtreecommitdiff
path: root/nscd/getgrnam_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/getgrnam_r.c')
-rw-r--r--nscd/getgrnam_r.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nscd/getgrnam_r.c b/nscd/getgrnam_r.c
index 67e4cd1..28a6ff6d1 100644
--- a/nscd/getgrnam_r.c
+++ b/nscd/getgrnam_r.c
@@ -17,6 +17,7 @@
#include <grp.h>
+#include <grp-merge.h>
#define LOOKUP_TYPE struct group
#define FUNCTION_NAME getgrnam
@@ -24,6 +25,9 @@
#define ADD_PARAMS const char *name
#define ADD_VARIABLES name
+#define DEEPCOPY_FN __copy_grp
+#define MERGE_FN __merge_grp
+
/* We are nscd, so we don't want to be talking to ourselves. */
#undef USE_NSCD