openbsd-ports/graphics/argyll/patches/patch-spectro_hidio_c
ajacoutot b20500230e Import argyll-1.1.0.20100201, with patches from Debian.
ArgyllCMS is an ICC compatible color management system, available as
Open Source.
<...>

ok jasper@
2011-11-06 17:35:53 +00:00

13 lines
467 B
Plaintext

$OpenBSD: patch-spectro_hidio_c,v 1.1.1.1 2011/11/06 17:35:53 ajacoutot Exp $
--- spectro/hidio.c.orig Sun Nov 6 10:40:15 2011
+++ spectro/hidio.c Sun Nov 6 10:40:26 2011
@@ -51,7 +51,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
#include <sys/types.h>
#include <usbhid.h>
#else /* assume Linux */