summaryrefslogtreecommitdiff
path: root/psycopg/pqpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/pqpath.c')
-rw-r--r--psycopg/pqpath.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c
index c6fb6cd..e15fc7a 100644
--- a/psycopg/pqpath.c
+++ b/psycopg/pqpath.c
@@ -29,14 +29,9 @@
connection.
*/
-#define PY_SSIZE_T_CLEAN
-#include <Python.h>
-#include <string.h>
-
#define PSYCOPG_MODULE
-#include "psycopg/config.h"
-#include "psycopg/python.h"
#include "psycopg/psycopg.h"
+
#include "psycopg/pqpath.h"
#include "psycopg/connection.h"
#include "psycopg/cursor.h"
@@ -44,6 +39,8 @@
#include "psycopg/typecast.h"
#include "psycopg/pgtypes.h"
+#include <string.h>
+
/* Strip off the severity from a Postgres error message. */
static const char *