… | |
… | |
7 | #ifdef HAVE_XSETLOCALE |
7 | #ifdef HAVE_XSETLOCALE |
8 | # define X_LOCALE |
8 | # define X_LOCALE |
9 | # include <X11/Xlocale.h> |
9 | # include <X11/Xlocale.h> |
10 | #else |
10 | #else |
11 | # ifdef HAVE_SETLOCALE |
11 | # ifdef HAVE_SETLOCALE |
12 | # include <locale.h> |
12 | # include <clocale> |
13 | # endif |
13 | # endif |
14 | #endif /* HAVE_XLOCALE */ |
14 | #endif /* HAVE_XLOCALE */ |
15 | |
15 | |
16 | #if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) |
16 | #if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) |
17 | # include <sys/resource.h> /* for struct rlimit */ |
17 | # include <sys/resource.h> /* for struct rlimit */ |