From 571095097eb025a6f1a4fbc24737084a1e367a9f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 19 May 2004 16:44:31 +0000 Subject: Fixes to auto /dev/null creation --- srcx/util.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'srcx/util.h') diff --git a/srcx/util.h b/srcx/util.h index d39c1de..fed9261 100644 --- a/srcx/util.h +++ b/srcx/util.h @@ -39,12 +39,13 @@ #ifndef __UTIL_H__ #define __UTIL_H__ -struct xprison; +#include +#include int translate_jail_name(const char* str); int running_in_jail(); -kvm_t open_kvm_handle(char* jail, char* errbuf); +kvm_t* open_kvm_handle(const char* jail, char* errbuf); size_t get_jail_sysctl(struct xprison** ret); #define JAIL_RUN_CONSOLE 0x00000001 /* Output stuff to the jail console if available */ -- cgit v1.2.3