diff options
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 39033e5..dda3fbc 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 e2a58be..3145fde 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() |