libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
sysinc.h
Go to the documentation of this file.
1 // Libiqxmlrpc - an object-oriented XML-RPC solution.
2 // Copyright (C) 2011 Anton Dedov
3 
9 #ifndef _iqxmlrpc_sysinc_h_
10 #define _iqxmlrpc_sysinc_h_
11 
12 #ifdef WIN32
13  #define BOOST_ALL_NO_LIB
14 
15 #if _MSC_VER < 1700
16  #include <Winsock2.h>
17  #include <windows.h>
18  #include <ws2tcpip.h>
19 #endif
20 
21 #else
22  #include <unistd.h>
23  #include <netdb.h>
24  #include <sys/socket.h>
25  #include <sys/time.h>
26  #include <sys/types.h>
27  #include <pthread.h>
28  #include <arpa/inet.h>
29  #include <netinet/in.h>
30  #include <netinet/tcp.h>
31 #endif //WIN32
32 
33 #include <ctype.h>
34 #include <locale.h>
35 #include <stdlib.h>
36 #include <time.h>
37 #include <errno.h>
38 #include <fcntl.h>
39 #include <string.h>
40 
41 #endif