summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2017-09-05 13:53:09 (GMT)
committerGitHub <noreply@github.com>2017-09-05 13:53:09 (GMT)
commit75b961869a1184895c9d5bf41a57f3c985622662 (patch)
treee997a3f2612706c48e6a401265d9aa069bd62327 /pyconfig.h.in
parentc941e6238ab2a8caad11fe17d4723a5d5e7a2d76 (diff)
downloadcpython-75b961869a1184895c9d5bf41a57f3c985622662.zip
cpython-75b961869a1184895c9d5bf41a57f3c985622662.tar.gz
cpython-75b961869a1184895c9d5bf41a57f3c985622662.tar.bz2
bpo-31343: Include sys/sysmacros.h (#3318)
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>
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 2efd768..69033ef 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1054,6 +1054,9 @@
/* Define to 1 if you have the <sys/syscall.h> header file. */
#undef HAVE_SYS_SYSCALL_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/sys_domain.h> header file. */
#undef HAVE_SYS_SYS_DOMAIN_H