mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
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
2 changed files with 5 additions and 2 deletions
|
|
@ -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 a new issue