summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2010-01-18 23:04:38 +0000
committerwkoszek <wkoszek@FreeBSD.org>2010-01-18 23:04:38 +0000
commitb9d7576304d8e5c4bdd184e800f3122569dbd4f5 (patch)
tree5a5ea192f4b3ed00ac529a2b7336eb58b1af0e32
parent6bbfdedac1a71d740d27db5aad963f26cf4260ad (diff)
downloadFreeBSD-src-b9d7576304d8e5c4bdd184e800f3122569dbd4f5.zip
FreeBSD-src-b9d7576304d8e5c4bdd184e800f3122569dbd4f5.tar.gz
Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
this program to compile cleanly.
-rw-r--r--share/examples/kld/syscall/test/call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/examples/kld/syscall/test/call.c b/share/examples/kld/syscall/test/call.c
index 9183997..093ec01 100644
--- a/share/examples/kld/syscall/test/call.c
+++ b/share/examples/kld/syscall/test/call.c
@@ -27,6 +27,8 @@
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/module.h>
OpenPOWER on IntegriCloud