summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_devpoll.py1
-rw-r--r--Makefile.pre.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_devpoll.py b/Lib/test/test_devpoll.py
index c7bacf8..819d9dc 100644
--- a/Lib/test/test_devpoll.py
+++ b/Lib/test/test_devpoll.py
@@ -4,6 +4,7 @@
import os, select, random, unittest, sys
from test.support import TESTFN, run_unittest
+from _testcapi import USHRT_MAX
try:
select.devpoll
diff --git a/Makefile.pre.in b/Makefile.pre.in
index a6aa975..e97b07b 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -848,7 +848,8 @@ PYTHON_HEADERS= \
$(srcdir)/Include/warnings.h \
$(srcdir)/Include/weakrefobject.h \
pyconfig.h \
- $(PARSER_HEADERS)
+ $(PARSER_HEADERS) \
+ $(AST_H)
$(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)