summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/fdformat/Makefile2
-rw-r--r--usr.sbin/fdformat/fdformat.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile
index 5325b6a..e489ebc 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 <unistd.h> 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 <bsd.prog.mk>
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index c8844db..b43af82 100644
--- a/usr.sbin/fdformat/fdformat.c
+++ b/usr.sbin/fdformat/fdformat.c
@@ -47,7 +47,6 @@
#include <errno.h>
#include <machine/ioctl_fd.h>
-#include <i386/isa/fdreg.h> /* XXX should be in <machine> dir */
static void
format_track(int fd, int cyl, int secs, int head, int rate,
OpenPOWER on IntegriCloud