aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zhack.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zhack.c')
-rw-r--r--cmd/zhack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/zhack.c b/cmd/zhack.c
index a1063ab14..0b6da31ec 100644
--- a/cmd/zhack.c
+++ b/cmd/zhack.c
@@ -30,6 +30,7 @@
* result in corrupted pools.
*/
+#include <zfs_prop.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -646,8 +647,6 @@ zhack_do_label(int argc, char **argv)
int
main(int argc, char **argv)
{
- extern void zfs_prop_init(void);
-
char *path[MAX_NUM_PATHS];
const char *subcommand;
int rv = 0;