aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/smbfs/lib/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/smbfs/lib/Makefile.inc')
-rw-r--r--contrib/smbfs/lib/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/smbfs/lib/Makefile.inc b/contrib/smbfs/lib/Makefile.inc
index 43bd23ef2c56..331972700608 100644
--- a/contrib/smbfs/lib/Makefile.inc
+++ b/contrib/smbfs/lib/Makefile.inc
@@ -6,6 +6,8 @@ CFLAGS+= -Wall ${BPCFLAGS}
.if !exists(${SYSDIR}/netsmb/smb.h)
CFLAGS+= -I${.CURDIR}/../../kernel
+.else
+CFLAGS+= -I${SYSDIR}
.endif
.if defined(SMBGDB)