summaryrefslogtreecommitdiff
path: root/lib/libkvm
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-06-11 17:00:32 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-06-11 17:00:32 +0000
commita3e53be6c61f7826a212a582a3c2c4af256a7e62 (patch)
tree9b66ff79fce4a8f88959474f2d2ee41300af6ee0 /lib/libkvm
parent457f5e8e47f081920a33a8e85fcc785b707f708c (diff)
add missing headers needed by free(), memset(), getuid() and strlcpy().
ok millert@
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm_file2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c
index 8d4b07bb23a..680a3123f22 100644
--- a/lib/libkvm/kvm_file2.c
+++ b/lib/libkvm/kvm_file2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_file2.c,v 1.3 2009/06/07 21:35:11 millert Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.4 2009/06/11 17:00:31 chl Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -46,7 +46,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: kvm_file2.c,v 1.3 2009/06/07 21:35:11 millert Exp $";
+static char *rcsid = "$OpenBSD: kvm_file2.c,v 1.4 2009/06/11 17:00:31 chl Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -113,6 +113,9 @@ static char *rcsid = "$OpenBSD: kvm_file2.c,v 1.3 2009/06/07 21:35:11 millert Ex
#include <nlist.h>
#include <kvm.h>
#include <db.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
#include "kvm_private.h"