aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/c_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/c_client.py')
-rw-r--r--libxcb/src/c_client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py
index d006d305d..cbd235659 100644
--- a/libxcb/src/c_client.py
+++ b/libxcb/src/c_client.py
@@ -181,6 +181,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)')