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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py
index aaaab2e4a..c94a9e61c 100644
--- a/libxcb/src/c_client.py
+++ b/libxcb/src/c_client.py
@@ -190,7 +190,7 @@ def c_open(self):
_c('#define ALIGNOF(type) offsetof(struct { char dummy; type member; }, member)')
if _ns.is_ext:
- for (n, h) in self.imports:
+ for (n, h) in self.direct_imports:
_hc('#include "%s.h"', h)
_h('')