summaryrefslogtreecommitdiff
path: root/psycopg/microprotocols.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/microprotocols.c')
-rw-r--r--psycopg/microprotocols.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/psycopg/microprotocols.c b/psycopg/microprotocols.c
index 12ec7fb..a523d7d 100644
--- a/psycopg/microprotocols.c
+++ b/psycopg/microprotocols.c
@@ -23,18 +23,15 @@
* License for more details.
*/
-#define PY_SSIZE_T_CLEAN
-#include <Python.h>
-#include <structmember.h>
-
#define PSYCOPG_MODULE
-#include "psycopg/config.h"
-#include "psycopg/python.h"
#include "psycopg/psycopg.h"
-#include "psycopg/cursor.h"
-#include "psycopg/connection.h"
+
#include "psycopg/microprotocols.h"
#include "psycopg/microprotocols_proto.h"
+#include "psycopg/cursor.h"
+#include "psycopg/connection.h"
+
+#include <structmember.h>
/** the adapters registry **/