summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-11-24 16:52:47 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-05-23 01:12:34 +0300
commit3653f5e4d877176a30035d9123ac65daf46ba787 (patch)
tree7d7798b867267f048eef6e823b0beaa9c50acd9b
parentb3ec4d492df50abe1d5bf1355da3e9d5f3b3919f (diff)
media-enum: Use config.h
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--3rdparty/media-enum/config.h1
-rw-r--r--3rdparty/media-enum/media-enumerate.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/media-enum/config.h b/3rdparty/media-enum/config.h
new file mode 100644
index 0000000..33a2aec
--- /dev/null
+++ b/3rdparty/media-enum/config.h
@@ -0,0 +1 @@
+#undef HAVE_LIBUDEV
diff --git a/3rdparty/media-enum/media-enumerate.c b/3rdparty/media-enum/media-enumerate.c
index 0db4cdd..5632d2b 100644
--- a/3rdparty/media-enum/media-enumerate.c
+++ b/3rdparty/media-enum/media-enumerate.c
@@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define HAVE_LIBUDEV
+#include "config.h"
#include <ctype.h>
#include <dirent.h>