System headerfiles gathered in yconfig
[yaz-moved-to-github.git] / include / yconfig.h
1 #ifndef YCONFIG_H
2 #define YCONFIG_H
3
4 /* System includes */
5
6 #ifdef _VMS_
7
8 #elif WINDOWS
9
10 #ifdef YNETINCLUDE
11 #include <winsock.h>
12 #endif
13
14 #else
15 /*
16  * Standard Unix headers
17  */
18
19 #include <sys/types.h>
20 #include <sys/time.h>
21 #include <sys/wait.h>
22
23 #ifdef YNETINCLUDE
24 #include <netinet/in.h>
25 #include <sys/socket.h>
26 #include <netdb.h>
27 #include <arpa/inet.h>
28 #endif
29
30 #ifdef _AIX
31 #include <sys/select.h>
32 #endif
33
34 #endif
35
36 #include <xmalloc.h>
37
38 #ifdef WINDOWS
39 #define MDF
40 #else
41 #ifndef MDF
42 #define MDF
43 #endif
44 #endif
45
46 #endif