diff options
author | Charles-François Natali <neologix@free.fr> | 2011-10-06 17:47:44 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-10-06 17:47:44 (GMT) |
commit | 47413c117145c3da7cdb0ded5c05d0d540a26a4a (patch) | |
tree | 8b216bb9a929129d5a9a457c3e0943f551d7b4a4 /configure.in | |
parent | 90c30e87be7df19604c920ee24b6888afa91a093 (diff) | |
download | cpython-47413c117145c3da7cdb0ded5c05d0d540a26a4a.zip cpython-47413c117145c3da7cdb0ded5c05d0d540a26a4a.tar.gz cpython-47413c117145c3da7cdb0ded5c05d0d540a26a4a.tar.bz2 |
Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
Fuchs, updated by Tiago Gonçalves.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 884f8bb..e3d026a 100644 --- a/configure.in +++ b/configure.in @@ -1376,6 +1376,13 @@ AC_CHECK_HEADERS(linux/netlink.h,,,[ #endif ]) +# On Linux, can.h and can/raw.h require sys/socket.h +AC_CHECK_HEADERS(linux/can.h linux/can/raw.h,,,[ +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif +]) + # checks for typedefs was_it_defined=no AC_MSG_CHECKING(for clock_t in time.h) |