diff options
Diffstat (limited to 'libxcb/src/c_client.py')
-rw-r--r-- | libxcb/src/c_client.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py index 31ed3b58d..27a01b193 100644 --- a/libxcb/src/c_client.py +++ b/libxcb/src/c_client.py @@ -176,6 +176,9 @@ def c_open(self): _h('') _h('#include "xcb.h"') + _c('#ifdef HAVE_CONFIG_H') + _c('#include "config.h"') + _c('#endif') _c('#include <stdlib.h>') _c('#include <string.h>') _c('#include <assert.h>') |