summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2017-09-05 17:08:45 +0200
committerGitHub <noreply@github.com>2017-09-05 17:08:45 +0200
commitffa7011cb904ee6ad9d4931b073c13d9e1514e6b (patch)
treec9200083e7ff68a7091a37c5860d1615a2046716 /configure.ac
parent72ed233167b10d3a488d30a8ec3a17e412a7dd69 (diff)
downloadcpython-git-ffa7011cb904ee6ad9d4931b073c13d9e1514e6b.tar.gz
[2.7] bpo-31343: Include sys/sysmacros.h (GH-3318) (#3345)
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 75b961869a1184895c9d5bf41a57f3c985622662)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 780f2758c8..344d9b0367 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1702,7 +1702,7 @@ sys/param.h sys/poll.h sys/random.h sys/select.h sys/socket.h sys/statvfs.h sys/
sys/termio.h sys/time.h \
sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
-bluetooth/bluetooth.h linux/tipc.h spawn.h util.h alloca.h)
+bluetooth/bluetooth.h linux/tipc.h spawn.h util.h alloca.h sys/sysmacros.h)
AC_HEADER_DIRENT
AC_HEADER_MAJOR