From: Andrew Deason <adea...@sinenomine.net> The include for statvfs.h has not been needed since all statvfs calls were removed in commit 4a1418e07bdc ("Unbreak large mem support by removing kqemu").
The comment mentioning CONFIG_BSD hasn't made sense since an include for config-host.h was removed in commit aafd75841001 ("util: Clean up includes"). Remove this cruft. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Andrew Deason <adea...@sinenomine.net> Message-id: 20220316035227.3702-4-adea...@sinenomine.net Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> --- util/osdep.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/util/osdep.c b/util/osdep.c index 1825399bcf5..394804d32e1 100644 --- a/util/osdep.c +++ b/util/osdep.c @@ -23,13 +23,6 @@ */ #include "qemu/osdep.h" #include "qapi/error.h" - -/* Needed early for CONFIG_BSD etc. */ - -#ifdef CONFIG_SOLARIS -#include <sys/statvfs.h> -#endif - #include "qemu-common.h" #include "qemu/cutils.h" #include "qemu/sockets.h" -- 2.25.1