mirror of
https://git.freebsd.org/ports.git
synced 2025-07-09 05:19:16 -04:00
13 lines
263 B
C
13 lines
263 B
C
--- hidraw/hidrawmodule.c.orig 2021-03-15 09:48:56 UTC
|
|
+++ hidraw/hidrawmodule.c
|
|
@@ -1,6 +1,10 @@
|
|
#include <Python.h>
|
|
#include <sys/ioctl.h>
|
|
+#ifdef __FreeBSD__
|
|
+#include <dev/hid/hidraw.h>
|
|
+#else
|
|
#include <linux/hidraw.h>
|
|
+#endif
|
|
|
|
struct module_state {
|
|
};
|