diff options
author | Bjorn Andersson <bjorn@kryo.se> | 2018-09-26 13:47:52 (GMT) |
---|---|---|
committer | Tal Einat <taleinat+github@gmail.com> | 2018-09-26 13:47:52 (GMT) |
commit | bb8165172ac2ef8c7092e8e82928cc7f5f310ab3 (patch) | |
tree | 7674fc11d7cbb19a938d05e4a95d8e56446fb274 /configure.ac | |
parent | 2aaf98c16ae3070378de523a173e29644037d8bd (diff) | |
download | cpython-bb8165172ac2ef8c7092e8e82928cc7f5f310ab3.zip cpython-bb8165172ac2ef8c7092e8e82928cc7f5f310ab3.tar.gz cpython-bb8165172ac2ef8c7092e8e82928cc7f5f310ab3.tar.bz2 |
bpo-31425: Expose AF_QIPCRTR in socket module (GH-3706)
The AF_QIPCRTR address family was introduced in Linux v4.7.
Co-authored-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 96331ec..2235a13 100644 --- a/configure.ac +++ b/configure.ac @@ -2112,6 +2112,16 @@ AC_CHECK_HEADERS(linux/netlink.h,,,[ #endif ]) +# On Linux, qrtr.h requires asm/types.h +AC_CHECK_HEADERS(linux/qrtr.h,,,[ +#ifdef HAVE_ASM_TYPES_H +#include <asm/types.h> +#endif +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif +]) + AC_CHECK_HEADERS(linux/vm_sockets.h,,,[ #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> |