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
6075c2fc6a
commit
b5e81ea6b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292757
@ -19,6 +19,8 @@ WARNS?= 2
|
|||||||
SUBDIR+= tests
|
SUBDIR+= tests
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
CFLAGS+=-I${.CURDIR}/../../sys
|
||||||
|
|
||||||
.if ${MK_ZFS} != "no"
|
.if ${MK_ZFS} != "no"
|
||||||
IGNORE_PRAGMA= YES
|
IGNORE_PRAGMA= YES
|
||||||
|
|
||||||
@ -34,8 +36,6 @@ CFLAGS+= -I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common/sys
|
|||||||
CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head
|
CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR}/../../sys
|
|
||||||
|
|
||||||
LIBADD= geom md
|
LIBADD= geom md
|
||||||
|
|
||||||
.if ${MK_ZFS} != "no"
|
.if ${MK_ZFS} != "no"
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
__FBSDID("$FreeBSD$");
|
__FBSDID("$FreeBSD$");
|
||||||
|
|
||||||
#include <sys/types.h>
|
#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 <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user