diff --git a/slirp_glue/config-host.h b/slirp_glue/config-host.h index 9bb557ce4..e7e5388a7 100644 --- a/slirp_glue/config-host.h +++ b/slirp_glue/config-host.h @@ -12,7 +12,9 @@ typedef int SOCKET; #endif #ifndef __cplusplus -typedef int bool; + #if !defined(__GNUC__) || (__GNUC__ < 15) + typedef int bool; + #endif #endif #ifdef _MSC_VER #include