#if wxUSE_SOCKETS
+#include "wx/socket.h"
+
#ifndef WX_PRECOMP
#include "wx/object.h"
+ #include "wx/string.h"
+ #include "wx/intl.h"
+ #include "wx/log.h"
+ #include "wx/event.h"
+ #include "wx/app.h"
+ #include "wx/utils.h"
#endif
-#include "wx/app.h"
#include "wx/apptrait.h"
-#include "wx/string.h"
#include "wx/timer.h"
-#include "wx/utils.h"
#include "wx/module.h"
-#include "wx/log.h"
-#include "wx/intl.h"
-#include "wx/event.h"
#include "wx/sckaddr.h"
-#include "wx/socket.h"
#include "wx/datetime.h"
// DLL options compatibility check: