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.
31 #include "orte_config.h"
47 #include <sys/socket.h>
55 #ifdef HAVE_NETINET_IN_H
56 #include <netinet/in.h>
58 #ifdef HAVE_ARPA_INET_H
59 #include <arpa/inet.h>
64 #ifdef HAVE_SYS_IOCTL_H
65 #include <sys/ioctl.h>
67 #ifdef HAVE_SYS_TIME_H
73 #ifdef HAVE_SYS_TYPES_H
74 #include <sys/types.h>
76 #ifdef HAVE_BYTESWAP_H
85 #ifdef HAVE_WINSOCK2_H
88 #ifdef HAVE_WS2TCPIP_H
92 #ifdef CONFIG_ORTE_UNIX
96 #include "config.h.undef"
97 #if defined(_MSC_VER) || defined (_OMK_UNIX)
99 #define inline _inline
105 #include <winsock2.h>
106 #include <ws2tcpip.h>
111 #include <ew_types.h>
112 #define ioctl ioctlsocket
114 #elif defined __RTL__
115 #ifndef HAVE_CONFIG_H
116 #include "config.h.undef"
119 #include <posix/pthread.h>
120 #include <posix/time.h>
121 #include <rtl_malloc.h>
122 #include <byteswap.h>
128 #include <rtl/compat.h>
129 #include <rtl/rwlock.h>
131 #elif defined CONFIG_ORTE_RTAI
133 #undef PACKAGE_BUGREPORT
134 #undef PACKAGE_STRING
136 #undef PACKAGE_TARNAME
137 #undef PACKAGE_VERSION
139 // #include "config.h.undef"
140 #include <linux/module.h>
141 #include <rtai_posix.h.patched>
142 #include <byteswap.h>
144 #include <linux/if.h>
145 #include <linux/in.h>
146 #include <linux/ctype.h>
147 #include <rtai/compat.h>
151 #elif defined _OMK_UNIX
153 #include "config.h.undef"
158 #include <sys/socket.h>
161 #include <netinet/in.h>
162 #include <arpa/inet.h>
164 #include <sys/ioctl.h>
165 #include <sys/time.h>
167 #include <sys/types.h>
168 #include <byteswap.h>
177 #endif /* _ORTE_ALL_H */