Xenomai API  2.6.5
posix.h
1 /*
2  * Copyright (C) 2003 Gilles Chanteperdrix <[email protected]>.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  */
18 
19 #ifndef _XENO_SKIN_POSIX_H
20 #define _XENO_SKIN_POSIX_H
21 
22 #define PSE51_SKIN_MAGIC 0x50534531
23 
24 #ifdef __XENO_SIM__
25 
26 #include <posix/errno.h>
27 #include <posix/sched.h>
28 #include <posix/pthread.h>
29 #include <posix/sched.h>
30 #include <posix/signal.h>
31 #include <posix/semaphore.h>
32 #include <posix/mqueue.h>
33 #include <posix/time.h>
34 #include <posix/fcntl.h>
35 #include <posix/unistd.h>
36 #include <posix/sys/mman.h>
37 #include <posix/sys/ioctl.h>
38 #include <posix/sys/socket.h>
39 
40 #else /* !__XENO_SIM */
41 
42 #include <errno.h>
43 #include <pthread.h>
44 #include <sched.h>
45 #include <signal.h>
46 #include <semaphore.h>
47 #include <mqueue.h>
48 #include <time.h>
49 #include <fcntl.h>
50 #include <unistd.h>
51 #include <sys/mman.h>
52 #include <sys/ioctl.h>
53 #include <sys/socket.h>
54 
55 #endif /* !__XENO_SIM */
56 
57 #endif /* !_XENO_SKIN_POSIX_H */