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:
parent
8e1b8897f8
commit
d932a670ee
@ -37,7 +37,13 @@ class WXDLLIMPEXP_FWD_NET wxSocketBase;
|
||||
#include <stdlib.h>
|
||||
#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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user