2 * $Id: orte_all.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>
100 #if defined HAVE_WINSOCK2_H && !HAVE_SYS_SOCKET_H
101 #include <winsock2.h>
103 #if defined HAVE_WS2TCPIP_H && !HAVE_SYS_SOCKET_H
104 #include <ws2tcpip.h>
106 #ifdef HAVE_WINDOWS_H
110 #ifdef HAVE_ASM_BYTEORDER_H
111 #include <asm/byteorder.h>
113 #ifdef HAVE_LINUX_CTYPE_H
114 #include <linux/ctype.h>
116 #ifdef HAVE_LINUX_STRING_H
117 #include <linux/string.h>
119 #ifdef HAVE_LINUX_MODULE_H
120 #include <linux/module.h>
122 #ifdef HAVE_LINUX_IF_H
123 #include <linux/if.h>
125 #ifdef HAVE_LINUX_SOCKET_H
126 #include <linux/socket.h>
128 #ifdef HAVE_LINUX_TIME_H
129 #include <linux/time.h>
131 #ifdef HAVE_LINUX_TYPES_H
132 #include <linux/types.h>
134 #ifdef HAVE_LINUX_IN_H
135 #include <linux/in.h>
141 #ifdef HAVE_RTL_MALLOC_H
142 #include <rtl_malloc.h>
161 #ifdef CONFIG_ORTE_UNIX
163 #elif CONFIG_ORTE_CYGWIN
165 #elif CONFIG_ORTE_MINGW
167 #include <win32/pthread.h>
168 #include <win32/timeval.h>
169 #ifndef __GETOPT_H__ //mingw
170 #include <win32/getopt.h>
172 #include <ew_types.h>
173 #define ioctl ioctlsocket
174 #elif defined CONFIG_ORTE_RTL
176 #include <rtl/compat.h>
177 #include <rtl/rwlock.h>
178 #elif defined CONFIG_ORTE_RTAI
180 #include <rtai/compat.h>
181 #elif defined _MSC_VER
184 #define inline _inline
190 #include <winsock2.h>
191 #include <ws2tcpip.h>
193 #include <win32/pthread.h>
194 #include <win32/timeval.h>
195 #include <win32/getopt.h>
196 #include <ew_types.h>
197 #define ioctl ioctlsocket
198 #define ORTE_PACKAGE_STRING "orte 0.2.2"
205 #endif /* _ORTE_ALL_H */