diff --git a/samples/wxsocket/client.cpp b/samples/wxsocket/client.cpp index 0ffb78c522..2dba5c91b3 100644 --- a/samples/wxsocket/client.cpp +++ b/samples/wxsocket/client.cpp @@ -32,11 +32,12 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP # include "wx/wx.h" +#endif + # include "wx/socket.h" # include "wx/url.h" # include "wx/protocol/http.h" # include "wx/progdlg.h" -#endif // -------------------------------------------------------------------------- // resources diff --git a/samples/wxsocket/server.cpp b/samples/wxsocket/server.cpp index 087b58ccfb..a2285079c2 100644 --- a/samples/wxsocket/server.cpp +++ b/samples/wxsocket/server.cpp @@ -32,9 +32,10 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP # include "wx/wx.h" -# include "wx/socket.h" #endif +#include "wx/socket.h" + // -------------------------------------------------------------------------- // resources // --------------------------------------------------------------------------