summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-18 21:40:19 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-18 21:40:19 (GMT)
commit020dfe7f2e3c9d6be86ef09d0f1547e3b74d7d23 (patch)
tree253a0fadb0612e406206b572b03e9f2754c147ea /Python
parent650ae0ab06b8654af4e95ac31a236f71a69b635f (diff)
downloadcpython-020dfe7f2e3c9d6be86ef09d0f1547e3b74d7d23.zip
cpython-020dfe7f2e3c9d6be86ef09d0f1547e3b74d7d23.tar.gz
cpython-020dfe7f2e3c9d6be86ef09d0f1547e3b74d7d23.tar.bz2
include Python.h
Diffstat (limited to 'Python')
-rw-r--r--Python/getcopyright.c2
-rw-r--r--Python/getversion.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/Python/getcopyright.c b/Python/getcopyright.c
index 67b67c6..5750043 100644
--- a/Python/getcopyright.c
+++ b/Python/getcopyright.c
@@ -1,5 +1,7 @@
/* Return the copyright string. This is updated manually. */
+#include "Python.h"
+
const char *
getcopyright()
{
diff --git a/Python/getversion.c b/Python/getversion.c
index 1f2accc..07b0ead 100644
--- a/Python/getversion.c
+++ b/Python/getversion.c
@@ -1,5 +1,7 @@
/* Return the full version string. */
+#include "Python.h"
+
#include "patchlevel.h"
#define VERSION "%s (%s) %s"