comparison libnnchat.h @ 266:9bf3e5620eb5

Include sys/select.h
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 03 Jun 2011 11:24:36 +0300
parents 7ae0719f7763
children 1211b740fbda
comparison
equal deleted inserted replaced
263:8c983c3b93eb 266:9bf3e5620eb5
10 #include <unistd.h> 10 #include <unistd.h>
11 #ifdef __WIN32 11 #ifdef __WIN32
12 #include <windows.h> 12 #include <windows.h>
13 #include <winsock.h> 13 #include <winsock.h>
14 #else 14 #else
15 #include <sys/select.h>
15 #include <sys/socket.h> 16 #include <sys/socket.h>
16 #ifdef HAVE_NETINET_IN_H 17 #ifdef HAVE_NETINET_IN_H
17 #include <netinet/in.h> 18 #include <netinet/in.h>
18 #endif 19 #endif
19 #include <arpa/inet.h> 20 #include <arpa/inet.h>