Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/libhack Include <unistd.h> to get the getgroup...
details: https://anonhg.NetBSD.org/src/rev/b6b9bee42d16
branches: trunk
changeset: 579939:b6b9bee42d16
user: he <he%NetBSD.org@localhost>
date: Fri Apr 01 13:11:12 2005 +0000
description:
Include <unistd.h> to get the getgroupmembership() prototype.
diffstat:
distrib/utils/libhack/getgrent.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ac2724acb867 -r b6b9bee42d16 distrib/utils/libhack/getgrent.c
--- a/distrib/utils/libhack/getgrent.c Fri Apr 01 13:00:57 2005 +0000
+++ b/distrib/utils/libhack/getgrent.c Fri Apr 01 13:11:12 2005 +0000
@@ -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 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
static FILE *_gr_fp;
static struct group _gr_group;
Home |
Main Index |
Thread Index |
Old Index