X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e00f35bb067e723874c27e66350e19eab7834ac4..f8c4475a3e579655f6a962822824596a7a9cfb66:/include/wx/gsocket.h diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index 6f606332a9..7190696fd0 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -8,12 +8,14 @@ #ifndef __GSOCKET_H #define __GSOCKET_H +#include "wx/setup.h" + +#if wxUSE_SOCKETS + #include #if !defined(__cplusplus) - typedef int bool; - #endif #ifndef TRUE @@ -230,7 +232,11 @@ void GSocket_DoEvent(unsigned long evt_id); #ifdef __cplusplus }; +#endif /* __cplusplus */ + + #endif + /* wxUSE_SOCKETS */ #endif - /* __GSOCKET_H */ + /* __GSOCKET_H */