From 6efcb6d3d5911aaf699f9df3bb3bc26e94f38e6d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 18 Dec 2017 23:42:55 +0100 Subject: bpo-32030: Fix compilation on FreeBSD, #include (#4919) * main.c: add missing #include on FreeBSD * indent also other #ifdef in main.c * cleanup Programs/python.c --- Programs/python.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Programs') diff --git a/Programs/python.c b/Programs/python.c index a295486d73..78e48f800c 100644 --- a/Programs/python.c +++ b/Programs/python.c @@ -1,12 +1,6 @@ /* Minimal main program -- everything is loaded from the library */ #include "Python.h" -#include "internal/pystate.h" -#include - -#ifdef __FreeBSD__ -#include -#endif #ifdef MS_WINDOWS int @@ -15,8 +9,6 @@ wmain(int argc, wchar_t **argv) return Py_Main(argc, argv); } #else - - int main(int argc, char **argv) { -- cgit v1.2.1