]> granicus.if.org Git - python/commit
[2.7] bpo-31343: Include sys/sysmacros.h (GH-3318) (#3345)
authorChristian Heimes <christian@python.org>
Tue, 5 Sep 2017 15:08:45 +0000 (17:08 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2017 15:08:45 +0000 (17:08 +0200)
commitffa7011cb904ee6ad9d4931b073c13d9e1514e6b
treec9200083e7ff68a7091a37c5860d1615a2046716
parent72ed233167b10d3a488d30a8ec3a17e412a7dd69
[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)
Misc/NEWS.d/next/Core and Builtins/2017-09-04-14-57-27.bpo-31343.Kl_fS5.rst [new file with mode: 0644]
Modules/posixmodule.c
aclocal.m4
configure
configure.ac
pyconfig.h.in