[vlc-commits] v4l2: unbreak BSD
Rafaël Carré
git at videolan.org
Mon Apr 16 18:10:57 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Apr 16 19:10:45 2012 +0300| [88afb04390e98d1f47f2bbba43d00ca545f2c8c9] | committer: Rémi Denis-Courmont
v4l2: unbreak BSD
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88afb04390e98d1f47f2bbba43d00ca545f2c8c9
---
modules/access/v4l2/demux.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index bee8c67..23e6e11 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -33,6 +33,9 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
+#ifndef MAP_ANONYMOUS
+# define MAP_ANONYMOUS MAP_ANON
+#endif
#include <poll.h>
#include <vlc_common.h>
More information about the vlc-commits
mailing list