diff options
author | Christian Heimes <christian@python.org> | 2017-09-05 17:08:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 17:08:45 +0200 |
commit | ffa7011cb904ee6ad9d4931b073c13d9e1514e6b (patch) | |
tree | c9200083e7ff68a7091a37c5860d1615a2046716 /pyconfig.h.in | |
parent | 72ed233167b10d3a488d30a8ec3a17e412a7dd69 (diff) | |
download | cpython-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 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 98a76a55f4..2815c15d39 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -799,6 +799,9 @@ /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the <sys/sysmacros.h> header file. */ +#undef HAVE_SYS_SYSMACROS_H + /* Define to 1 if you have the <sys/termio.h> header file. */ #undef HAVE_SYS_TERMIO_H |