File: add-forward-declaration.patch

package info (click to toggle)
dvi2dvi 2.0alpha-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: ansic: 6,645; makefile: 97; sh: 8
file content (38 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (3)
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
35
36
37
38
Subject: Fix include error: expected specifier-qualifier-list before str_llist_type
Author: Jari Aalto <jari.aalto@cante.net>
Bug-Debian: https://bugs.debian.org/562291
Date: 2010-03-26

--- a/bifont.c
+++ b/bifont.c
@@ -7,6 +7,8 @@
 #include	"bifont.h"
 #include	"jsub.h"
 #ifdef KPATHSEA
+extern struct str_llist_elt *value;	       /* Forward declaration */
+#include	<kpathsea/config.h>
 #include	<kpathsea/pathsearch.h>
 #include	<kpathsea/tex-file.h>
 #endif
--- a/funcfont.c
+++ b/funcfont.c
@@ -6,6 +6,8 @@
 #include	"global.h"
 #include	"funcfont.h"
 #ifdef KPATHSEA
+extern struct str_llist_elt *value;	       /* Forward declaration */
+#include	<kpathsea/config.h>
 #include	<kpathsea/pathsearch.h>
 #include	<kpathsea/tex-file.h>
 #endif
--- a/kpse.c
+++ b/kpse.c
@@ -1,6 +1,8 @@
 #ifdef KPATHSEA
 
 #include	"defs.h"
+extern struct str_llist_elt *value;	       /* Forward declaration */
+#include	<kpathsea/config.h>
 #include	<kpathsea/pathsearch.h>
 #include	<kpathsea/tex-file.h>
 #include	<kpathsea/tex-glyph.h>