summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2017-09-05 15:53:09 +0200
committerGitHub <noreply@github.com>2017-09-05 15:53:09 +0200
commit75b961869a1184895c9d5bf41a57f3c985622662 (patch)
treee997a3f2612706c48e6a401265d9aa069bd62327 /pyconfig.h.in
parentc941e6238ab2a8caad11fe17d4723a5d5e7a2d76 (diff)
downloadcpython-git-75b961869a1184895c9d5bf41a57f3c985622662.tar.gz
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 2efd768a96..69033ef9e2 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