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:
allanjude 2015-12-26 19:48:36 +00:00
parent 373117f1e2
commit 894cd51946
2 changed files with 5 additions and 2 deletions

View File

@ -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"

View File

@ -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>