Annotation of pkgsrc/lang/python39/patches/patch-Modules_socketmodule.h, revision 1.1
1.1 ! adam 1: $NetBSD: patch-Modules_socketmodule.h,v 1.1 2019/10/15 16:50:11 adam Exp $
! 2:
! 3: Support NetBSD's socketcan implementation
! 4:
! 5: --- Modules/socketmodule.h.orig 2020-10-05 15:07:58.000000000 +0000
! 6: +++ Modules/socketmodule.h
! 7: @@ -148,6 +148,10 @@ typedef int socklen_t;
! 8: #include <linux/can/j1939.h>
! 9: #endif
! 10:
! 11: +#ifdef HAVE_NETCAN_CAN_H
! 12: +#include <netcan/can.h>
! 13: +#endif
! 14: +
! 15: #ifdef HAVE_SYS_SYS_DOMAIN_H
! 16: #include <sys/sys_domain.h>
! 17: #endif
CVSweb <webmaster@jp.NetBSD.org>