include the right header for timeval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,13 @@ class WXDLLIMPEXP_FWD_NET wxSocketBase;
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <time.h> // for timeval
|
// include the header defining timeval: under Windows this struct is used only
|
||||||
|
// with sockets so we need to include winsock.h which we do via windows.h
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
#include "wx/msw/wrapwin.h"
|
||||||
|
#else
|
||||||
|
#include <sys/time.h> // for timeval
|
||||||
|
#endif
|
||||||
|
|
||||||
enum GAddressType
|
enum GAddressType
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user