freebsd-ports/multimedia/v4l-utils/files/patch-libv4l2util__v4l2_driver.c
Koop Mast 45ab52dc76 Add v4l-utils 0.8.4.
This port contains a number of tools for manupilating v4l* devices.

Initial port of 0.8.3 by nox@, some polish and update to 0.8.4 by myself.
2011-06-25 19:13:25 +00:00

14 lines
361 B
C

--- ./libv4l2util/v4l2_driver.c.orig 2011-02-09 23:04:27.000000000 +0100
+++ ./libv4l2util/v4l2_driver.c 2011-06-03 19:08:13.000000000 +0200
@@ -15,7 +15,11 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
+#ifndef __FreeBSD__
#include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <unistd.h>