diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-11-24 16:52:47 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-05-23 01:12:34 +0300 |
commit | 3653f5e4d877176a30035d9123ac65daf46ba787 (patch) | |
tree | 7d7798b867267f048eef6e823b0beaa9c50acd9b | |
parent | b3ec4d492df50abe1d5bf1355da3e9d5f3b3919f (diff) |
media-enum: Use config.h
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | 3rdparty/media-enum/config.h | 1 | ||||
-rw-r--r-- | 3rdparty/media-enum/media-enumerate.c | 2 |
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> |