libdvbv5: generate the correct include in dvb-v5.c
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 26 May 2014 06:39:35 +0000 (08:39 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 26 May 2014 06:39:35 +0000 (08:39 +0200)
When dvb-v5.c is generated the #include line is incorrect: instead
of including <libdvbv5/dvb-v5.h> it should include "dvb-v5.h".

Fixed.

An earlier patch patches the dvb-v5.c source, but since that is
regenerated by 'make sync-with-kernel' I had to change it in the
code that generates the source instead.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
lib/libdvbv5/gen_dvb_structs.pl

index df69700..dca6b9b 100755 (executable)
@@ -510,7 +510,7 @@ print OUT <<EOF;
  */
 #include <stddef.h>
 
-#include <libdvbv5/dvb-v5.h>
+#include "dvb-v5.h"
 
 EOF
 output_arrays ("fe_caps_name", \%fe_caps, "unsigned", 1, 0);