2 * $Id: orte_headers.h,v 0.0.0.1 2003/08/21
4 * AUTHOR: Petr Smolik petr.smolik@wo.cz
6 * ORTE - OCERA Real-Time Ethernet http://www.ocera.org/
7 * --------------------------------------------------------------------
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
29 #include "orte_config.h"
30 #elif defined OMK_FOR_USER
31 #include "orte_config_omk_unix.h"
32 #elif defined OMK_FOR_KERNEL
33 #include "orte_config_omk_rtl.h"
36 #ifdef HAVE_ARPA_INET_H
37 #include <arpa/inet.h>
54 #ifdef HAVE_SYS_IOCTL_H
55 #include <sys/ioctl.h>
57 #ifdef HAVE_SYS_TIME_H
66 #ifdef HAVE_SYS_TYPES_H
67 #include <sys/types.h>
69 #ifdef HAVE_SYS_SOCKIO_H
70 #include <sys/sockio.h>
75 #ifdef HAVE_BYTESWAP_H
90 #ifdef HAVE_SYS_SOCKET_H
91 #include <sys/socket.h>
93 #ifdef HAVE_NETINET_IN_H
94 #include <netinet/in.h>
103 #if defined HAVE_WINSOCK2_H && !HAVE_SYS_SOCKET_H
104 #include <winsock2.h>
106 #if defined HAVE_WS2TCPIP_H && !HAVE_SYS_SOCKET_H
107 #include <ws2tcpip.h>
109 #ifdef HAVE_WINDOWS_H
112 #ifdef HAVE_W32API_WINDOWS_H
113 #include <w32api/windows.h>
119 #ifdef HAVE_ASM_BYTEORDER_H
120 #include <asm/byteorder.h>
122 #ifdef HAVE_LINUX_CTYPE_H
123 #include <linux/ctype.h>
125 #ifdef HAVE_LINUX_STRING_H
126 #include <linux/string.h>
128 #ifdef HAVE_LINUX_MODULE_H
129 #include <linux/module.h>
131 #ifdef HAVE_LINUX_IF_H
132 #include <linux/if.h>
134 #ifdef HAVE_LINUX_SOCKET_H
135 #include <linux/socket.h>
137 #ifdef HAVE_LINUX_TIME_H
138 #include <linux/time.h>
140 #ifdef HAVE_LINUX_TYPES_H
141 #include <linux/types.h>
143 #ifdef HAVE_LINUX_IN_H
144 #include <linux/in.h>
150 #ifdef HAVE_RTL_MALLOC_H
151 #include <rtl_malloc.h>
170 #ifdef CONFIG_ORTE_UNIX
172 #elif CONFIG_ORTE_CYGWIN
174 #elif CONFIG_ORTE_MINGW
176 #include <win32/pthread.h>
177 #include <win32/timeval.h>
178 #ifndef __GETOPT_H__ //mingw
179 #include <win32/getopt.h>
181 #include <orte/ew_types.h>
182 #define ioctl ioctlsocket
183 #elif defined CONFIG_ORTE_RTL
185 #include <rtl/compat.h>
186 #include <rtl/rwlock.h>
187 #elif defined CONFIG_ORTE_RTAI
189 #include <rtai/compat.h>
190 #elif defined _MSC_VER
193 #define inline _inline
199 #include <winsock2.h>
200 #include <ws2tcpip.h>
202 #include <win32/pthread.h>
203 #include <win32/timeval.h>
204 #include <win32/getopt.h>
205 #include <orte/ew_types.h>
206 #define ioctl ioctlsocket
207 #define ORTE_PACKAGE_STRING "orte 0.2.3"
208 #define CONFIG_ORTE_WIN
215 #endif /* _ORTE_ALL_H */