summaryrefslogtreecommitdiff
path: root/man3/getgrent_r.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-09-10 02:44:09 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-09-10 02:44:09 +0000
commitaf9c7ff296d820ef13b6e62a53ec2e9aeb5aaead (patch)
tree0df56f350d1e7beef0ef0398f3a358ecb437d71a /man3/getgrent_r.3
parentc3c1773e5742cc47341a0b5b80e1403ab105eb6b (diff)
Add "#include <stdlib.h>" (to declatre exit(3)) to example program.
Diffstat (limited to 'man3/getgrent_r.3')
-rw-r--r--man3/getgrent_r.31
1 files changed, 1 insertions, 0 deletions
diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3
index 8242f604..8f7f2480 100644
--- a/man3/getgrent_r.3
+++ b/man3/getgrent_r.3
@@ -143,6 +143,7 @@ in the stream with all other threads.
#define _GNU_SOURCE
#include <grp.h>
#include <stdio.h>
+#include <stdlib.h>
#define BUFLEN 4096
int