diff options
author | Zackery Spytz <zspytz@gmail.com> | 2023-12-28 10:47:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 10:47:44 (GMT) |
commit | f108468970bf4e70910862476900f924fb701399 (patch) | |
tree | 9fef4c48842c8df326240a17400635e9a15d1f59 /configure.ac | |
parent | f1676867b52f8b6c7f70bf32e2a53f7edd6700a7 (diff) | |
download | cpython-f108468970bf4e70910862476900f924fb701399.zip cpython-f108468970bf4e70910862476900f924fb701399.tar.gz cpython-f108468970bf4e70910862476900f924fb701399.tar.bz2 |
bpo-11102: Make configure enable major(), makedev(), and minor() on HP-UX (GH-19856)
Always include <sys/types.h> before <sys/sysmacros.h>.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bfdabc4..13a6d74 100644 --- a/configure.ac +++ b/configure.ac @@ -5102,6 +5102,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #if defined(MAJOR_IN_MKDEV) #include <sys/mkdev.h> #elif defined(MAJOR_IN_SYSMACROS) +#include <sys/types.h> #include <sys/sysmacros.h> #else #include <sys/types.h> |