diff options
author | allanjude <allanjude@FreeBSD.org> | 2015-12-26 19:48:36 +0000 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2015-12-26 19:48:36 +0000 |
commit | 894cd519466903a17105f277600a78da683b5ab0 (patch) | |
tree | 1c7d478b92d4faaa4947160d1f131606209a1001 /usr.sbin/fstyp | |
parent | 373117f1e250ab64188ca775743b92a827b973af (diff) | |
download | FreeBSD-src-894cd519466903a17105f277600a78da683b5ab0.zip FreeBSD-src-894cd519466903a17105f277600a78da683b5ab0.tar.gz |
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
Diffstat (limited to 'usr.sbin/fstyp')
-rw-r--r-- | usr.sbin/fstyp/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/fstyp/zfs.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/fstyp/Makefile b/usr.sbin/fstyp/Makefile index e82dd04..5eba12b 100644 --- a/usr.sbin/fstyp/Makefile +++ b/usr.sbin/fstyp/Makefile @@ -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" diff --git a/usr.sbin/fstyp/zfs.c b/usr.sbin/fstyp/zfs.c index 1c9ca4d..c37a5db 100644 --- a/usr.sbin/fstyp/zfs.c +++ b/usr.sbin/fstyp/zfs.c @@ -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> |