diff options
Diffstat (limited to 'graphics/libv4l/patches/patch-aa')
-rw-r--r-- | graphics/libv4l/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/libv4l/patches/patch-aa b/graphics/libv4l/patches/patch-aa new file mode 100644 index 00000000000..a32ebcdc47a --- /dev/null +++ b/graphics/libv4l/patches/patch-aa @@ -0,0 +1,19 @@ +--- include/libv4lconvert.h.orig 2008-09-08 14:33:17.000000000 -0400 ++++ include/libv4lconvert.h 2008-09-08 14:34:03.000000000 -0400 +@@ -22,10 +22,16 @@ + /* These headers are not needed by us, but by linux/videodev2.h, + which is broken on some systems and doesn't include them itself :( */ + #include <sys/time.h> ++#ifdef __linux__ + #include <linux/types.h> + #include <linux/ioctl.h> + /* end broken header workaround includes */ + #include <linux/videodev2.h> ++#elif defined(__NetBSD__) || defined(__OpenBSD__) ++#include <sys/types.h> ++#include <sys/ioctl.h> ++#include <sys/videoio.h> ++#endif + + #ifdef __cplusplus + extern "C" { |