]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gsocket.c
Changed code to get rid of a compiler warning about statement always being FALSE
[wxWidgets.git] / src / os2 / gsocket.c
index 2563bf66fea6ba7e682312be745290ee06d50fc2..1eef6eb14c1c29e615b122d5f1659e347b6b2030 100644 (file)
@@ -57,7 +57,12 @@ int _System soclose(int);
 
 #include <string.h>
 #include <stdio.h>
-//#include <stdlib.h>
+#if defined(__VISAGECPP__) && __IBMCPP__ < 400
+#  ifdef min
+#  undef min
+#  endif
+#  include <stdlib.h>
+#endif
 #include <stddef.h>
 #include <ctype.h>