summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetcompiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macgetcompiler.c')
-rw-r--r--Mac/Python/macgetcompiler.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c
index 226fa29..39f3a2b 100644
--- a/Mac/Python/macgetcompiler.c
+++ b/Mac/Python/macgetcompiler.c
@@ -32,6 +32,7 @@ PERFORMANCE OF THIS SOFTWARE.
/* Return a string representing the compiler name */
#include "config.h"
+#include "Python.h"
#ifdef __MWERKS__
#ifdef USE_GUSI1
@@ -75,8 +76,8 @@ PERFORMANCE OF THIS SOFTWARE.
#endif
#endif
-char *
-Py_GetCompiler()
+const char *
+Py_GetCompiler(void)
{
return COMPILER;
}