summaryrefslogtreecommitdiff
path: root/sys/kern/subr_extent.c
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2010-06-20 17:57:10 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2010-06-20 17:57:10 +0000
commit0c810681cef1a35d4919e45f36e45116454f92d6 (patch)
treef0a272931c83f6a7dd9a6dbe09cfbba4f49dfdab /sys/kern/subr_extent.c
parent2246f68b3276b17053023c83d282183284cf33ea (diff)
Add some missing includes, so we do not have implicit function
declarations. OK miod@, millert@
Diffstat (limited to 'sys/kern/subr_extent.c')
-rw-r--r--sys/kern/subr_extent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index 700414d42b7..234355dd121 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.42 2010/01/14 23:12:11 schwarze Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.43 2010/06/20 17:57:09 phessler Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -55,6 +55,7 @@
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#define malloc(s, t, flags) malloc(s)
#define free(p, t) free(p)