diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-01-10 07:49:38 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-01-10 07:49:38 -0500 |
commit | 8581fe66c1d2d48a54b076e66a468620e4443ccb (patch) | |
tree | 87c1ece17f8b521581f9f02b2f3ec57eb78f2322 /src/v4l_id | |
parent | 81ce2af261245727ee92ba1e0070571028602e12 (diff) |
src/v4l_id: fix compile error
Diffstat (limited to 'src/v4l_id')
-rw-r--r-- | src/v4l_id/Makefile.am | 3 | ||||
-rw-r--r-- | src/v4l_id/v4l_id.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/v4l_id/Makefile.am b/src/v4l_id/Makefile.am index 074417f909..6ca3da1146 100644 --- a/src/v4l_id/Makefile.am +++ b/src/v4l_id/Makefile.am @@ -1,5 +1,8 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +AM_CPPFLAGS = \ + -I $(top_srcdir)/src/shared + udevlibexec_PROGRAMS = \ v4l_id diff --git a/src/v4l_id/v4l_id.c b/src/v4l_id/v4l_id.c index 0ebe434639..0e3d3003cb 100644 --- a/src/v4l_id/v4l_id.c +++ b/src/v4l_id/v4l_id.c @@ -13,6 +13,10 @@ * General Public License for more details: */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + #include <stdio.h> #include <errno.h> #include <string.h> |