summaryrefslogtreecommitdiff
path: root/graphics/libv4l/patches/patch-ab
blob: 9c8ff6c73779a6ce3671d0ab1d7fd60cd79d1704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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"