diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile index 5325b6a18531..e489ebc7465c 100644 --- a/usr.sbin/fdformat/Makefile +++ b/usr.sbin/fdformat/Makefile @@ -4,6 +4,6 @@ PROG = fdformat # the -I's seem to be confusing, but necessery this way # (so the right will be found in /usr/include, and the # "../i386/isa/ic/nec765.h" included from fdreg.h is accessible, too) -CFLAGS+= -Wall -I${DESTDIR}/sys +CFLAGS+= -Wall .include diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c index c8844db7f413..b43af82c624c 100644 --- a/usr.sbin/fdformat/fdformat.c +++ b/usr.sbin/fdformat/fdformat.c @@ -47,7 +47,6 @@ #include #include -#include /* XXX should be in dir */ static void format_track(int fd, int cyl, int secs, int head, int rate,