MIDAS
Loading...
Searching...
No Matches
midasinc.h
Go to the documentation of this file.
1/********************************************************************\
2
3 Name: MIDASINC.H
4 Created by: Stefan Ritt
5
6 Purpose: Centralized file with all #includes
7 Contents: Includes all necessary include files
8
9 $Id$
10
11\********************************************************************/
12
13/* OS independent files */
14
15#include <stdio.h>
16#include <stdlib.h>
17#include <string.h>
18#include <time.h>
19#include <ctype.h>
20#include <assert.h>
21#include <algorithm>
22#include <cctype>
23
24/* OS dependent files */
25
26#ifdef OS_VMS
27
28#include <descrip.h>
29#include <errno.h>
30#include <in.h>
31#include <inet.h>
32#include <lckdef.h>
33#include <lkidef.h>
34#include <netdb.h>
35#include <ppl$def.h>
36#include <ppl$routines.h>
37#include <ppldef.h>
38#include <prcdef.h>
39#include <socket.h>
40#include <starlet.h>
41#include <stdarg.h>
42#include <ssdef.h>
43#include <ucx$inetdef.h>
44#include <file.h>
45#include <stat.h>
46#include <ctype.h>
47
48#ifdef __ALPHA
49#include <unixio.h>
50#include <unixlib.h>
51#include <lib$routines.h>
52#endif
53
54#endif
55
56#ifdef OS_WINNT
57
58#include <windows.h>
59#include <conio.h>
60#include <process.h>
61#include <direct.h>
62#include <io.h>
63#include <fcntl.h>
64#include <sys/stat.h>
65#include <sys/timeb.h>
66
67#endif
68
69#ifdef OS_MSDOS
70
71#include <sys/stat.h>
72#include <io.h>
73#include <fcntl.h>
74#include <sys/types.h>
75#include <netdb.h>
76#include <in.h>
77#include <sys/socket.h>
78#include <sys/ioctl.h>
79#include <stdarg.h>
80#include <process.h>
81#include <dos.h>
82#include <alloc.h>
83#include <errno.h>
84#include <conio.h>
85#include <ctype.h>
86
87#endif
88
89#ifdef OS_VXWORKS
90
91#include <vxWorks.h>
92#include <sockLib.h>
93#include <selectLib.h>
94#include <hostLib.h>
95#include <in.h>
96#include <ioLib.h>
97#include <netinet/tcp.h>
98#include <sys/stat.h>
99/*-PAA- permanent as semphore moved in ss_mutex_...() */
100#include <semLib.h>
101#include <taskLib.h>
102#include <symLib.h>
103#include <errnoLib.h>
104
105#endif
106
107#ifdef OS_UNIX
108
109#ifndef __USE_GNU
110#define __USE_GNU // needed for semtimedop()
111#endif
112
113#include <errno.h>
114#include <stdarg.h>
115#include <unistd.h>
116#include <netdb.h>
117#include <pwd.h>
118#include <fcntl.h>
119#include <syslog.h>
120#include <netinet/in.h>
121#include <netinet/tcp.h>
122#include <sys/termios.h>
123#include <sys/types.h>
124#include <sys/param.h>
125#include <sys/ipc.h>
126#include <sys/sem.h>
127#include <sys/shm.h>
128#include <sys/ioctl.h>
129#include <sys/socket.h>
130#include <sys/timeb.h>
131#include <sys/stat.h>
132
133#if defined(OS_DARWIN)
134/* mtio.h vanished from MacOS 10.6 */
135#elif defined(OS_LINUX)
136#include <sys/mtio.h>
137#endif
138
139#include <sys/syscall.h>
140#include <dirent.h>
141#include <pthread.h>
142
143/* special code for Linux and FreeBSD */
144#if defined(OS_LINUX) || defined(OS_FREEBSD)
145#include <sys/time.h>
146#ifdef OS_DARWIN
147#else
148#include <linux/unistd.h>
149#include <sys/vfs.h>
150#endif
151#include <arpa/inet.h>
152#include <fnmatch.h>
153#ifdef OS_DARWIN
154#include <util.h>
155#else
156#include <pty.h>
157#endif
158#undef LITTLE_ENDIAN
159#endif
160
161/* special code for OSF1 */
162#ifdef OS_OSF1
163#include <sys/time.h>
164#include <sys/timers.h>
165
166/*-PAA- Special for Ultrix */
167#ifndef OS_ULTRIX
168#include <fnmatch.h>
169#define NO_PTY
170#endif
171
172extern void *malloc(); /* patches for wrong gcc include files */
173extern void *realloc();
174#endif
175
176#ifdef OS_IRIX
177#include <sys/statfs.h>
178#include <fnmatch.h>
179#define NO_PTY
180#endif
181
182#include <sys/wait.h>
183
184#endif
185
186/* special code for Solaris */
187#ifdef OS_SOLARIS
188#include <sys/filio.h>
189#include <sys/statvfs.h>
190#define NO_PTY
191#endif
192
193/* FTP library */
194#include "ftplib.h"
195
196/*------------------------------------------------------------------*/
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24