pkgsrc/graphics/libv4l/patches/patch-ab
2008-09-08 19:10:20 +00:00

16 lines
449 B
Text

$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"