File tree 1 file changed +12
-25
lines changed
1 file changed +12
-25
lines changed Original file line number Diff line number Diff line change 18
18
19
19
#include "version.h"
20
20
21
- #ifdef DOS
21
+ #include <fcntl.h>
22
+ #include <setjmp.h>
23
+ #include <signal.h>
24
+ #include <stdio.h>
25
+ #include <stdlib.h>
26
+ #include <sys/types.h>
22
27
#include <time.h>
28
+ #include <unistd.h>
29
+
30
+ #ifdef DOS
23
31
#include <dos.h>
24
32
#include <i32.h> /* "#pragma interrupt" & '_chain_intr'*/
25
- #include <dos.h> /* defines REGS & other structs */
26
- #include <stdio.h> /* define NULL */
27
- #include <stdlib.h>
28
33
#define SIGVTALRM SIGUSR1
29
34
#define SIGIO SIGREAD
30
35
/******************************************************************************
@@ -36,34 +41,16 @@ void (*prev_int_1c)(); /* keeps address of previous 1c handlr*/
36
41
void DOStimer ();
37
42
38
43
unsigned long tick_count = 0 ; /* approx 18 ticks per sec */
39
-
40
- #else
41
- #include <time.h>
42
- #include <sys/time.h>
43
- #endif /* DOS */
44
- #include <sys/types.h>
45
- #include <stdio.h>
46
- #include <stdlib.h>
47
- #include <signal.h>
48
- #include <unistd.h>
49
- #include <fcntl.h>
50
-
51
- #ifndef DOS
44
+ #else /* DOS */
52
45
#include <sys/resource.h>
46
+ #include <sys/time.h>
53
47
#endif /* DOS */
54
48
55
- #ifdef OS5
49
+ #ifdef USE_DLPI
56
50
#include <stropts.h>
57
51
extern int ether_fd ;
58
52
#endif
59
53
60
- #ifdef LINUX
61
- #include <sys/ioctl.h>
62
- #include <signal.h>
63
- #endif
64
-
65
- #include <setjmp.h>
66
-
67
54
#include "lispemul.h"
68
55
#include "emlglob.h"
69
56
#include "lspglob.h"
You can’t perform that action at this time.
0 commit comments