diff --git a/dtool/src/parser-inc/Sources.pp b/dtool/src/parser-inc/Sources.pp index 251bc47545..68c68024b6 100644 --- a/dtool/src/parser-inc/Sources.pp +++ b/dtool/src/parser-inc/Sources.pp @@ -14,5 +14,5 @@ intfloat_readwrite.h mathematics.h rational.h rtp.h \ rtsp.h rtspcodes.h setjmp.h winsock2.h \ ode/ode.h collision_trimesh.h \ - netinet/tcp.h netinet/ip.h \ + netinet/tcp.h netinet/ip.h sys/socket.h \ rfftw.h libtar.h malloc.h ucontext.h ctype.h diff --git a/dtool/src/parser-inc/socket.h b/dtool/src/parser-inc/socket.h new file mode 100755 index 0000000000..79d513e07f --- /dev/null +++ b/dtool/src/parser-inc/socket.h @@ -0,0 +1,8 @@ +struct sockaddr_in +{ +}; + +typedef struct fd_set { + unsigned int fd_count; /* how many are SET? */ + SOCKET fd_array[10]; /* an array of SOCKETs */ +} fd_set;