]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gsocket.h
compilation fixes
[wxWidgets.git] / include / wx / gsocket.h
index 54db19bc4eae2a0826c71eb2a1f6b21abec583e8..5cd91ae0018a6c7961345468155f0120f361a95c 100644 (file)
    having been defined in sys/types.h" when winsock.h is included later and
    doesn't seem to be necessary anyhow. It's not needed under Mac neither.
  */
-#if !defined(__WXMAC__) && !defined(__CYGWIN__)
+#if !defined(__WXMAC__) && !defined(__CYGWIN__) && !defined(__WXWINCE__)
 #include <sys/types.h>
 #endif
 
+#ifdef __WXWINCE__
+#include <stdlib.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif