Browse Source

prolly not necessary, but just in case. Added the header defs

Zachary Pavlov 19 years ago
parent
commit
c70ee43128
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dtool/src/parser-inc/winsock2.h

+ 4 - 0
dtool/src/parser-inc/winsock2.h

@@ -1,3 +1,6 @@
+#ifndef _WINSOCK2API_
+#define _WINSOCK2API_
+#define _WINSOCKAPI_   /* Prevent inclusion of winsock.h in windows.h */
 
 
 typedef int SOCKET ;
 typedef int SOCKET ;
 
 
@@ -11,3 +14,4 @@ typedef struct fd_set {
         SOCKET  fd_array[10];   /* an array of SOCKETs */
         SOCKET  fd_array[10];   /* an array of SOCKETs */
 } fd_set;
 } fd_set;
 
 
+#endif