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