summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2017-09-05 15:09:12 (GMT)
committerGitHub <noreply@github.com>2017-09-05 15:09:12 (GMT)
commit02854dab6231d726fa2c63d44ab25598988c44f4 (patch)
treebe341819fb8e0c77cb0865a0f256327a64137112 /configure
parent8704d5439c7de8b471921e0ebcb6a62ebb6fe1a1 (diff)
downloadcpython-02854dab6231d726fa2c63d44ab25598988c44f4.zip
cpython-02854dab6231d726fa2c63d44ab25598988c44f4.tar.gz
cpython-02854dab6231d726fa2c63d44ab25598988c44f4.tar.bz2
[3.6] bpo-31343: Include sys/sysmacros.h (GH-3318) (#3344)
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray plans to remove the functions from sys/types.h. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 75b9618)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 10ac675..ed305a8 100755
--- a/configure
+++ b/configure
@@ -7822,7 +7822,7 @@ sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
linux/tipc.h linux/random.h spawn.h util.h alloca.h endian.h \
-sys/endian.h
+sys/endian.h sys/sysmacros.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"