Fix includes in usr.sbin/fstyp/zfs.c
Approved by: bapt (mentor) MFC after: 1 week Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4710
This commit is contained in:
parent
373117f1e2
commit
894cd51946
@ -19,6 +19,8 @@ WARNS?= 2
|
||||
SUBDIR+= tests
|
||||
.endif
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../sys
|
||||
|
||||
.if ${MK_ZFS} != "no"
|
||||
IGNORE_PRAGMA= YES
|
||||
|
||||
@ -34,8 +36,6 @@ CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/sys
|
||||
CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head
|
||||
.endif
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../sys
|
||||
|
||||
LIBADD= geom md
|
||||
|
||||
.if ${MK_ZFS} != "no"
|
||||
|
@ -29,6 +29,9 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <cddl/compat/opensolaris/sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <cddl/compat/opensolaris/sys/time.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user