File: 0004-move_config_h_to_apps.patch

package info (click to toggle)
libdv 1.0.0-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,876 kB
  • sloc: ansic: 14,669; sh: 8,725; asm: 7,250; makefile: 134
file content (34 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Author: Daniel Kobras <kobras@debian.org>
Description: Removing inclusion of config.h from dv_types.h revealed two
 files that should include it themselves.
---
 encodedv/encodedv.c     |    4 ++++
 encodedv/insert_audio.c |    4 ++++
 2 files changed, 8 insertions(+)

--- libdv.orig/encodedv/encodedv.c
+++ libdv/encodedv/encodedv.c
@@ -24,6 +24,10 @@
  *  The libdv homepage is http://libdv.sourceforge.net/.  
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include "libdv/dv_types.h"
 #include "libdv/dv.h"
--- libdv.orig/encodedv/insert_audio.c
+++ libdv/encodedv/insert_audio.c
@@ -23,6 +23,10 @@
  *  The libdv homepage is http://libdv.sourceforge.net/.  
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "libdv/dv_types.h"
 
 #include <stdio.h>