diff options
author | John-Mark Gurney <jmg@FreeBSD.org> | 1997-10-19 11:15:45 +0000 |
---|---|---|
committer | John-Mark Gurney <jmg@FreeBSD.org> | 1997-10-19 11:15:45 +0000 |
commit | 23e200d5ab0c8860ef95938f1d2eb92dac4590ef (patch) | |
tree | a7f4c9fcf0648346ca18abecbfe0b02e3a97f619 /sbin/kldload | |
parent | 63f87bd1949592392aec57d666da7d7b708b151d (diff) | |
download | src-test2-23e200d5ab0c8860ef95938f1d2eb92dac4590ef.tar.gz src-test2-23e200d5ab0c8860ef95938f1d2eb92dac4590ef.zip |
Notes
Diffstat (limited to 'sbin/kldload')
-rw-r--r-- | sbin/kldload/Makefile | 4 | ||||
-rw-r--r-- | sbin/kldload/kldload.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sbin/kldload/Makefile b/sbin/kldload/Makefile index 39033e5a3f45..dda3fbcd33d7 100644 --- a/sbin/kldload/Makefile +++ b/sbin/kldload/Makefile @@ -23,11 +23,13 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id$ +# $Id: Makefile,v 1.1 1997/05/07 18:19:21 dfr Exp $ # PROG= kldload SRCS= kldload.c MAN8= kldload.8 +CFLAGS= -I${.CURDIR}/../../sys + .include <bsd.prog.mk> diff --git a/sbin/kldload/kldload.c b/sbin/kldload/kldload.c index e2a58be5a1fd..3145fde8fc9e 100644 --- a/sbin/kldload/kldload.c +++ b/sbin/kldload/kldload.c @@ -23,14 +23,18 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: kldload.c,v 1.1 1997/05/07 18:19:21 dfr Exp $ */ +#include <err.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <sys/param.h> #include <sys/linker.h> +extern int optind; + static char* progname; static void usage() |