Annotation of pkgsrc/lang/python310/patches/patch-Modules_socketmodule.h, revision 1.1
1.1 ! adam 1: $NetBSD: patch-Modules_socketmodule.h,v 1.2 2021/05/22 11:36:01 bouyer Exp $
! 2:
! 3: Support NetBSD's socketcan implementation
! 4:
! 5: --- Modules/socketmodule.h.orig 2021-05-03 16:54:42.000000000 +0200
! 6: +++ Modules/socketmodule.h 2021-05-22 11:52:19.072276647 +0200
! 7: @@ -131,6 +131,8 @@
! 8:
! 9: #ifdef HAVE_LINUX_CAN_H
! 10: # include <linux/can.h>
! 11: +#elif defined(HAVE_NETCAN_CAN_H)
! 12: +# include <netcan/can.h>
! 13: #else
! 14: # undef AF_CAN
! 15: # undef PF_CAN
CVSweb <webmaster@jp.NetBSD.org>