svn commit: r202601 - head/share/examples/kld/syscall/test
Wojciech A. Koszek
wkoszek at FreeBSD.org
Mon Jan 18 23:04:38 UTC 2010
Author: wkoszek
Date: Mon Jan 18 23:04:38 2010
New Revision: 202601
URL: http://svn.freebsd.org/changeset/base/202601
Log:
Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
this program to compile cleanly.
Modified:
head/share/examples/kld/syscall/test/call.c
Modified: head/share/examples/kld/syscall/test/call.c
==============================================================================
--- head/share/examples/kld/syscall/test/call.c Mon Jan 18 22:59:53 2010 (r202600)
+++ head/share/examples/kld/syscall/test/call.c Mon Jan 18 23:04:38 2010 (r202601)
@@ -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>
More information about the svn-src-head
mailing list