summaryrefslogtreecommitdiff
path: root/graphics/libv4l/patches/patch-ab
blob: d6b3c8ba5b6cb5004c70c91ee23175e891442ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.2 2008/09/08 19:10:20 jmcneill Exp $

--- libv4lconvert/libv4lconvert.c.orig	2008-09-08 14:34:57.000000000 -0400
+++ libv4lconvert/libv4lconvert.c	2008-09-08 14:38:17.000000000 -0400
@@ -19,7 +19,11 @@
 #include <errno.h>
 #include <string.h>
 #include <stdlib.h>
+#ifdef __linux__
 #include <syscall.h>
+#else
+#include <sys/syscall.h>
+#endif
 #include <unistd.h>
 #include "libv4lconvert.h"
 #include "libv4lconvert-priv.h"