summaryrefslogtreecommitdiff
path: root/proto.h
blob: f641b09bbcfbd51cfa0375ef1140ed8fe2117ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/*Copyright (c) Anker Berg-Sonne, 1985-1990*/
#define Txt_Fun(N,T) extern char *N;
#define Int_Fun(N,V) extern int N;
#define Chr_Fun(N,V) extern char N;
#include "vars.h"
#if defined(ANSIC)
#include "protoa.h"
#else
#include "protoc.h"
#endif
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>

#if defined(DOS)
#include <dos.h>
#include <io.h>
#include <time.h>
#include <process.h>
#if !defined(_MSC_VER)
#include <mem.h>
#include <dir.h>
#else
#include <direct.h>
#endif
#include <conio.h>
#include <fcntl.h>
#include <sys\types.h>
#include <sys\stat.h>
#endif

#if defined(NT)
#include <dos.h>
#include <io.h>
#include <time.h>
#include <process.h>
#include <memory.h>
#include <direct.h>
#include <conio.h>
#include <fcntl.h>
#include <sys\types.h>
#include <sys\stat.h>
#endif

#if defined(ATARI)
#include <osbind.h>
#include <basepage.h>
#include <stat.h>
char *strcpy(), *getenv(), *mktemp();
char *index();
FILE *fopen();
#endif

#if defined(OS2)
#include <dos.h>
#include <io.h>
#include <process.h>
#include <fcntl.h>
#include <sys\types.h>
#include <sys\stat.h>
#include <signal.h>
#endif

#if defined(UNIX)
#if !defined(LINUX)
#include <sys/termios.h>
#define S_IREAD 00400
#define S_IWRITE 00200
#include <memory.h>
#endif
#include <time.h>
#include <fcntl.h>
#include <pwd.h>
#include <sys/types.h>
#include <sys/stat.h>
#if defined(DECOSF) | defined(LINUX)
#include <sys/ioctl.h>
#endif
#if defined(LINUX)
#include <errno.h>
#endif
#if defined(LINUX) | defined(HPUX)
#include <unistd.h>
#endif
#include <signal.h>		/* for signal() to reset terminal */
#if !(defined(SCO) | defined(_MSC_VER))
#endif
#if defined(TERMCAP)
char *tgoto();
#else
#if defined(ULTRIX)
#include <cursesX.h>
#else
#include <curses.h>
#endif
#endif
#if defined (HPUX)
#include <termio.h>
#endif
#include <unistd.h>
#endif

#if defined(VMS)
#include <signal.h>
#include <descrip.h>
#include <stat.h>
char *Find_Dir(), *Find_Lib();
char *Mbxmsgadr();
#endif

#if !(defined(VMS) | defined(UNIX) | defined(ATARI) | defined(OS2) | defined(NT) | defined(_MSC_VER))
#include <alloc.h>
#endif

#if defined(MPE)
#include <fcntl.h>
#define _toupper(c) toupper(c)
#define _tolower(c) tolower(c)
#endif