diff options
Diffstat (limited to 'libxcb/src/c_client.py')
-rw-r--r-- | libxcb/src/c_client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py index d86d05e24..a18072258 100644 --- a/libxcb/src/c_client.py +++ b/libxcb/src/c_client.py @@ -162,6 +162,7 @@ def c_open(self): _c('#include <assert.h>') _c('#include "xcbext.h"') _c('#include "%s.h"', _ns.header) + _c('#include <X11/Xtrans/Xtrans.h>') if _ns.is_ext: for (n, h) in self.imports: @@ -1015,7 +1016,7 @@ except getopt.GetoptError, err: for (opt, arg) in opts: if opt == '-p': - sys.path.append(arg) + sys.path.insert(0,arg) # Import the module class try: |