… | |
… | |
27 | #else |
27 | #else |
28 | // stdlib.h might provide it |
28 | // stdlib.h might provide it |
29 | #endif |
29 | #endif |
30 | |
30 | |
31 | using namespace std; |
31 | using namespace std; |
|
|
32 | |
|
|
33 | // we assume that Xlib.h defines XPointer, and it does since at least 1994... |
32 | |
34 | |
33 | extern "C" { |
35 | extern "C" { |
34 | #include <X11/Xlib.h> |
36 | #include <X11/Xlib.h> |
35 | #include <X11/Xutil.h> |
37 | #include <X11/Xutil.h> |
36 | #include <X11/Xresource.h> |
38 | #include <X11/Xresource.h> |
… | |
… | |
97 | /* |
99 | /* |
98 | ***************************************************************************** |
100 | ***************************************************************************** |
99 | * SYSTEM HACKS |
101 | * SYSTEM HACKS |
100 | ***************************************************************************** |
102 | ***************************************************************************** |
101 | */ |
103 | */ |
102 | |
|
|
103 | #ifndef HAVE_XPOINTER |
|
|
104 | typedef char *XPointer; |
|
|
105 | #endif |
|
|
106 | |
104 | |
107 | #include <termios.h> |
105 | #include <termios.h> |
108 | |
106 | |
109 | #include "background.h" |
107 | #include "background.h" |
110 | |
108 | |