diff --git a/general.h b/general.h index 49cdf4064d..2cea58f116 100644 --- a/general.h +++ b/general.h @@ -28,7 +28,6 @@ #include "rewind.h" #include "movie.h" #include "autosave.h" -#include "netplay.h" #include "dynamic.h" #include "cheats.h" #include "audio/ext/ssnes_dsp.h" @@ -37,6 +36,10 @@ #include "config.h" #endif +#ifdef HAVE_NETPLAY +#include "netplay.h" +#endif + #include "audio/hermite.h" #ifndef _WIN32