summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index fd7ddb6..46bfda2 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -36,6 +36,10 @@
#endif
#include <stdio.h>
+#ifndef NULL
+# error "Python.h requires that stdio.h define NULL."
+#endif
+
#include <string.h>
#include <errno.h>
#ifdef HAVE_STDLIB_H