Page MenuHomeFreeBSD

D4710.diff
No OneTemporary

D4710.diff

Index: head/usr.sbin/fstyp/Makefile
===================================================================
--- head/usr.sbin/fstyp/Makefile
+++ head/usr.sbin/fstyp/Makefile
@@ -19,6 +19,8 @@
SUBDIR+= tests
.endif
+CFLAGS+=-I${.CURDIR}/../../sys
+
.if ${MK_ZFS} != "no"
IGNORE_PRAGMA= YES
@@ -34,8 +36,6 @@
CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/head
.endif
-CFLAGS+=-I${.CURDIR}/../../sys
-
LIBADD= geom md
.if ${MK_ZFS} != "no"
Index: head/usr.sbin/fstyp/zfs.c
===================================================================
--- head/usr.sbin/fstyp/zfs.c
+++ head/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>

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 2:06 PM (7 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35366518
Default Alt Text
D4710.diff (866 B)

Event Timeline