Do not dereference a null pointer for a malformed line in master.passwd.
[dragonfly.git] / lib / libutil / Makefile
index e7c8695..b919c04 100644 (file)
@@ -4,7 +4,6 @@
 
 LIB=   util
 SHLIB_MAJOR= 4
-CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../sys
 CFLAGS+=-DINET6
 CFLAGS+=-D_CTYPE_H_DISABLE_MACROS_ 
 SRCS=  flopen.c login.c login_tty.c logout.c logwtmp.c pty.c \
@@ -15,6 +14,8 @@ SRCS= flopen.c login.c login_tty.c logout.c logwtmp.c pty.c \
 INCS=  libutil.h login_cap.h
 WARNS?=        2
 
+CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libc/gen/
+
 MAN+=  flopen.3 login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \
        login_cap.3 login_class.3 login_times.3 login_ok.3 \
        _secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \