summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/geom/geom_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_dump.c b/sys/geom/geom_dump.c
index 756e8cacbd6f..0f2725d933dd 100644
--- a/sys/geom/geom_dump.c
+++ b/sys/geom/geom_dump.c
@@ -41,6 +41,7 @@
#include <sys/sbuf.h>
#ifndef _KERNEL
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <err.h>