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 9430c005a..af1337ec0 100644
--- a/libxcb/src/c_client.py
+++ b/libxcb/src/c_client.py
@@ -191,7 +191,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('')