xcb_open: Improve abstraction for launchd secure sockets
[free-sw/xcb/libxcb] / src / c_client.py
index aaaab2e..c94a9e6 100644 (file)
@@ -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('')