diff options
author | Thomas Klausner <tk@giga.or.at> | 2022-01-21 07:44:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 07:44:05 (GMT) |
commit | 40fcd16889028bd3cd2289e0f8a2af43f17a5824 (patch) | |
tree | 887af34099e0520f5908c69431ef187cd9895241 /configure.ac | |
parent | cfadcc31ea84617b1c73022ce54d4ae831333e8d (diff) | |
download | cpython-40fcd16889028bd3cd2289e0f8a2af43f17a5824.zip cpython-40fcd16889028bd3cd2289e0f8a2af43f17a5824.tar.gz cpython-40fcd16889028bd3cd2289e0f8a2af43f17a5824.tar.bz2 |
bpo-30512: Add CAN Socket support for NetBSD (GH-30066)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9c9a338..8d14042 100644 --- a/configure.ac +++ b/configure.ac @@ -2411,7 +2411,8 @@ AC_CHECK_HEADERS(linux/vm_sockets.h,,,[ ]) # On Linux, can.h, can/bcm.h, can/j1939.h, can/raw.h require sys/socket.h -AC_CHECK_HEADERS(linux/can.h linux/can/bcm.h linux/can/j1939.h linux/can/raw.h,,,[ +# On NetBSD, netcan/can.h requires sys/socket.h +AC_CHECK_HEADERS(linux/can.h linux/can/bcm.h linux/can/j1939.h linux/can/raw.h netcan/can.h,,,[ #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif |