summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2022-01-21 07:44:05 (GMT)
committerGitHub <noreply@github.com>2022-01-21 07:44:05 (GMT)
commit40fcd16889028bd3cd2289e0f8a2af43f17a5824 (patch)
tree887af34099e0520f5908c69431ef187cd9895241 /configure.ac
parentcfadcc31ea84617b1c73022ce54d4ae831333e8d (diff)
downloadcpython-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.ac3
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