summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/mount_null/Makefile2
-rw-r--r--sbin/mount_nullfs/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_null/Makefile b/sbin/mount_null/Makefile
index f20f91b..3f8b3ef 100644
--- a/sbin/mount_null/Makefile
+++ b/sbin/mount_null/Makefile
@@ -5,7 +5,7 @@ SRCS= mount_null.c getmntopts.c
MAN8= mount_null.8
MOUNT= ${.CURDIR}/../mount
-CFLAGS+= -I/sys -I${MOUNT}
+CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH: ${MOUNT}
.include <bsd.prog.mk>
diff --git a/sbin/mount_nullfs/Makefile b/sbin/mount_nullfs/Makefile
index f20f91b..3f8b3ef 100644
--- a/sbin/mount_nullfs/Makefile
+++ b/sbin/mount_nullfs/Makefile
@@ -5,7 +5,7 @@ SRCS= mount_null.c getmntopts.c
MAN8= mount_null.8
MOUNT= ${.CURDIR}/../mount
-CFLAGS+= -I/sys -I${MOUNT}
+CFLAGS+= -I${.CURDIR}/../../sys -I${MOUNT}
.PATH: ${MOUNT}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud