Date: Mon, 18 Jan 2010 23:04:38 +0000 (UTC) From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r202601 - head/share/examples/kld/syscall/test Message-ID: <201001182304.o0IN4cNV004535@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001182304.o0IN4cNV004535>