summaryrefslogtreecommitdiff
path: root/multimedia/omxplayer/patches/patch-OMXControl.cpp
blob: e8b80f7a4acb02c7dab6d111a1d252c762b6e39e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-OMXControl.cpp,v 1.1 2015/01/18 23:09:25 jmcneill Exp $

--- OMXControl.cpp.orig	2015-01-12 15:10:50.000000000 +0000
+++ OMXControl.cpp
@@ -2,7 +2,9 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <sys/mman.h>
+#if defined(__linux__)
 #include <linux/fb.h>
+#endif
 #include <string.h>
 #include <dbus/dbus.h>