pkgsrc/graphics/libv4l/patches/patch-ab
2012-04-18 17:47:22 +00:00

19 lines
488 B
Text

$NetBSD: patch-ab,v 1.3 2012/04/18 17:47:22 hans 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,14 @@
#include <errno.h>
#include <string.h>
#include <stdlib.h>
+#ifdef __linux__
#include <syscall.h>
+#else
+#include <sys/syscall.h>
+#endif
+#ifdef __sun
+#include <alloca.h>
+#endif
#include <unistd.h>
#include "libv4lconvert.h"
#include "libv4lconvert-priv.h"