From 41975b269cf1503c735f8233f8ef373d74f1f137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 13 Mar 2014 14:27:59 +0100 Subject: oslib-posix: Fix build on FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 10f5bff622cad71645e22c027b77ac31e51008ef (util: Split out exec_dir from os_find_datadir) moved code from os-posix.c to util/oslib-posix.c but forgot to move a FreeBSD #include alongside, needed for CTL_KERN among others. Cc: Fam Zheng Cc: Paolo Bonzini Signed-off-by: Andreas Färber Message-id: 1394717279-23406-1-git-send-email-andreas.faerber@web.de Signed-off-by: Peter Maydell --- os-posix.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'os-posix.c') diff --git a/os-posix.c b/os-posix.c index 6187301481..cb2a7f7ad7 100644 --- a/os-posix.c +++ b/os-posix.c @@ -44,10 +44,6 @@ #include #endif -#ifdef __FreeBSD__ -#include -#endif - static struct passwd *user_pwd; static const char *chroot_dir; static int daemonize; -- cgit v1.2.1