diff options
| author | he <he@NetBSD.org> | 2005-04-01 13:11:12 +0000 |
|---|---|---|
| committer | he <he@NetBSD.org> | 2005-04-01 13:11:12 +0000 |
| commit | 3fdfdbed08e63bc11af7a9a19c8c1807b2d41f13 (patch) | |
| tree | 0f5263a628a229ee229124ab78070b02e620e245 /distrib/utils/libhack | |
| parent | e6d2a0e7470f9ee5bb4852d20aa3b56e5816e6f5 (diff) | |
Include <unistd.h> to get the getgroupmembership() prototype.
Diffstat (limited to 'distrib/utils/libhack')
| -rw-r--r-- | distrib/utils/libhack/getgrent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/utils/libhack/getgrent.c b/distrib/utils/libhack/getgrent.c index a7d01da61ee..cda717e9078 100644 --- a/distrib/utils/libhack/getgrent.c +++ b/distrib/utils/libhack/getgrent.c @@ -1,4 +1,4 @@ -/* $NetBSD: getgrent.c,v 1.9 2005/01/06 15:10:45 lukem Exp $ */ +/* $NetBSD: getgrent.c,v 1.10 2005/04/01 13:11:12 he Exp $ */ /* * Copyright (c) 1989, 1991, 1993 @@ -87,6 +87,7 @@ __weak_alias(getgroupmembership,_getgroupmembership) #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> static FILE *_gr_fp; static struct group _gr_group; |
