aboutsummaryrefslogtreecommitdiffstats
path: root/man2/intro.2
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 /man2/intro.2
parentc3c1773e5742cc47341a0b5b80e1403ab105eb6b (diff)
downloadman-pages-af9c7ff296d820ef13b6e62a53ec2e9aeb5aaead.tar.gz
Add "#include <stdlib.h>" (to declatre exit(3)) to example program.
Diffstat (limited to 'man2/intro.2')
-rw-r--r--man2/intro.21
1 files changed, 1 insertions, 0 deletions
diff --git a/man2/intro.2 b/man2/intro.2
index f8183c619a..07d475601f 100644
--- a/man2/intro.2
+++ b/man2/intro.2
@@ -137,6 +137,7 @@ passed by-value or by-pointer (for aggregates like structs).
.sp
.nf
#include <stdio.h>
+#include <stdlib.h>
#include <errno.h>
#include <linux/unistd.h> /* for _syscallX macros/related stuff */
#include <linux/kernel.h> /* for struct sysinfo */