summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-08-23 10:08:03 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-08-23 10:08:03 +0000
commit70e2f2dbc68d87992226948430a60a007e6705c8 (patch)
treeacffb1b5da2b1a620eff95504d98c0a1a5026740 /lib
parentd7f320c3bdfc3ed5b2b87d533c02b0b76e0cf16c (diff)
add missing header needed by asprintf().
ok otto@ deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getgrouplist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c
index 23ef7d33bd2..639b8c009c6 100644
--- a/lib/libc/gen/getgrouplist.c
+++ b/lib/libc/gen/getgrouplist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getgrouplist.c,v 1.14 2008/08/22 00:59:34 deraadt Exp $ */
+/* $OpenBSD: getgrouplist.c,v 1.15 2008/08/23 10:08:02 chl Exp $ */
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,6 +35,7 @@
#include <sys/limits.h>
#include <string.h>
#include <unistd.h>
+#include <stdio.h>
#include <stdlib.h>
#include <grp.h>
#include <pwd.h>