summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/truss/expound.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/cmd/truss/expound.c b/usr/src/cmd/truss/expound.c
index 915ec46..19cc651 100644
--- a/usr/src/cmd/truss/expound.c
+++ b/usr/src/cmd/truss/expound.c
@@ -28,6 +28,10 @@
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define _SYSCALL32
#include <stdio.h>
@@ -5071,10 +5075,12 @@ show_zfs_ioc(private_t *pri, long addr)
(void) printf(" zc_defer_destroy=%d\n",
(int)zc.zc_defer_destroy);
}
+#ifdef HAVE_ZFS_CMD_T_ZC_FLAGS
if (zc.zc_flags) {
(void) printf(" zc_flags=0x%x\n",
zc.zc_flags);
}
+#endif
if (zc.zc_action_handle) {
(void) printf(" zc_action_handle=%llu\n",
(u_longlong_t)zc.zc_action_handle);