summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>