summaryrefslogtreecommitdiff
path: root/psycopg/adapter_pboolean.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/adapter_pboolean.c')
-rw-r--r--psycopg/adapter_pboolean.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/psycopg/adapter_pboolean.c b/psycopg/adapter_pboolean.c
index edffe8f..8425805 100644
--- a/psycopg/adapter_pboolean.c
+++ b/psycopg/adapter_pboolean.c
@@ -23,19 +23,16 @@
* License for more details.
*/
-#define PY_SSIZE_T_CLEAN
-#include <Python.h>
-#include <structmember.h>
-#include <stringobject.h>
-#include <string.h>
-
#define PSYCOPG_MODULE
-#include "psycopg/config.h"
-#include "psycopg/python.h"
#include "psycopg/psycopg.h"
+
#include "psycopg/adapter_pboolean.h"
#include "psycopg/microprotocols_proto.h"
+#include <structmember.h>
+#include <stringobject.h>
+#include <string.h>
+
/** the Boolean object **/