diff --git a/os-posix.c b/os-posix.c
index a8e38c0298823f039e7ac0f1fecba26be06f44b3..f90dfda9b0d888e324c0e5a2121aa91c0fa68ca5 100644
--- a/os-posix.c
+++ b/os-posix.c
@@ -29,8 +29,6 @@
 #include <grp.h>
 #include <libgen.h>
 
-/* Needed early for CONFIG_BSD etc. */
-#include "net/slirp.h"
 #include "qemu/error-report.h"
 #include "qemu/log.h"
 #include "sysemu/runstate.h"