… | |
… | |
10 | #else |
10 | #else |
11 | # ifdef HAVE_SETLOCALE |
11 | # ifdef HAVE_SETLOCALE |
12 | # include <clocale> |
12 | # include <clocale> |
13 | # endif |
13 | # endif |
14 | #endif /* HAVE_XLOCALE */ |
14 | #endif /* HAVE_XLOCALE */ |
15 | |
|
|
16 | #if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) |
|
|
17 | # include <sys/resource.h> /* for struct rlimit */ |
|
|
18 | # define _NEW_TTY_CTRL /* to get proper defines in <termios.h> */ |
|
|
19 | #endif |
|
|
20 | |
|
|
21 | #ifdef __QNX__ /* autoconf someday */ |
|
|
22 | # include <process.h> |
|
|
23 | #endif |
|
|
24 | |
15 | |
25 | #ifdef TTY_GID_SUPPORT |
16 | #ifdef TTY_GID_SUPPORT |
26 | # include <grp.h> |
17 | # include <grp.h> |
27 | #endif |
18 | #endif |
28 | |
19 | |
… | |
… | |
141 | |
132 | |
142 | #ifndef O_NOCTTY |
133 | #ifndef O_NOCTTY |
143 | # define O_NOCTTY 0 |
134 | # define O_NOCTTY 0 |
144 | #endif |
135 | #endif |
145 | #ifndef ONLCR |
136 | #ifndef ONLCR |
146 | # define ONLCR 0 /* QNX, at least */ |
137 | # define ONLCR 0 |
147 | #endif |
138 | #endif |
148 | |
139 | |
149 | #define CONSOLE "/dev/console" /* console device */ |
140 | #define CONSOLE "/dev/console" /* console device */ |
150 | |
141 | |
151 | #endif /* _INIT_H_ */ |
142 | #endif /* _INIT_H_ */ |