From 8581fe66c1d2d48a54b076e66a468620e4443ccb Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 10 Jan 2015 07:49:38 -0500 Subject: src/v4l_id: fix compile error --- src/v4l_id/Makefile.am | 3 +++ src/v4l_id/v4l_id.c | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'src/v4l_id') 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 #include #include -- cgit v1.2.3-54-g00ecf