… | |
… | |
28 | # include <wchar.h> |
28 | # include <wchar.h> |
29 | #else |
29 | #else |
30 | // stdlib.h might provide it |
30 | // stdlib.h might provide it |
31 | #endif |
31 | #endif |
32 | |
32 | |
|
|
33 | using namespace std; |
|
|
34 | |
33 | extern "C" { |
35 | extern "C" { |
34 | #include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ |
36 | #include <X11/Xlib.h> |
|
|
37 | #include <X11/Xutil.h> |
|
|
38 | #include <X11/Xresource.h> |
35 | } |
39 | } |
36 | |
40 | |
37 | /* |
41 | /* |
38 | * If we haven't pulled in typedef's like int16_t then do them ourself |
42 | * If we haven't pulled in typedef's like int16_t then do them ourself |
39 | * type of (normal and unsigned) basic sizes |
43 | * type of (normal and unsigned) basic sizes |