summaryrefslogtreecommitdiff
path: root/psycopg/adapter_binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/adapter_binary.c')
-rw-r--r--psycopg/adapter_binary.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/psycopg/adapter_binary.c b/psycopg/adapter_binary.c
index 9b4a1c3..63d705e 100644
--- a/psycopg/adapter_binary.c
+++ b/psycopg/adapter_binary.c
@@ -23,21 +23,17 @@
* License for more details.
*/
-#define PY_SSIZE_T_CLEAN
-#include <Python.h>
-#include <structmember.h>
-#include <stringobject.h>
-
-#include <libpq-fe.h>
-#include <string.h>
-
#define PSYCOPG_MODULE
-#include "psycopg/config.h"
-#include "psycopg/python.h"
#include "psycopg/psycopg.h"
-#include "psycopg/connection.h"
+
#include "psycopg/adapter_binary.h"
#include "psycopg/microprotocols_proto.h"
+#include "psycopg/connection.h"
+
+#include <structmember.h>
+#include <stringobject.h>
+#include <string.h>
+
/** the quoting code */