removed include to wx/defs.h (seems to be unnecessary and
gcc chokes on C files containing C++ features (such as 'class')
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5404
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
#include "wx/setup.h"
-#include "wx/defs.h"
#if wxUSE_SOCKETS
#include <assert.h>
#include <sys\types.h>
+#ifdef __EMX__
+#include <sys/time.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <errno.h>
+#define HAVE_INET_ADDR
+#else
#include <utils.h>
#include <sys\time.h>
#include <in.h>
#include <netdb.h>
#include <nerrno.h>
+#endif
#if defined(__VISAGECPP__) && __IBMCPP__ < 400
#include <socket.h>
#include <ioctl.h>
#include <sys\socket.h>
#include <sys\ioctl.h>
#include <sys\select.h>
+#ifndef __EMX__
#define select(a,b,c,d,e) bsdselect(a,b,c,d,e)
int _System bsdselect(int,
struct fd_set *,
struct timeval *);
int _System soclose(int);
#endif
+#endif
#include <string.h>
#include <stdio.h>