diff options
Diffstat (limited to 'libxcb/src/c_client.py')
-rw-r--r-- | libxcb/src/c_client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py index ad3ea22ea..0f9974899 100644 --- a/libxcb/src/c_client.py +++ b/libxcb/src/c_client.py @@ -174,6 +174,7 @@ def c_open(self): _c('#include <stddef.h> /* for offsetof() */') _c('#include "xcbext.h"') _c('#include "%s.h"', _ns.header) + _c('#include <X11/Xtrans/Xtrans.h>') _c('') _c('#define ALIGNOF(type) offsetof(struct { char dummy; type member; }, member)') |