summaryrefslogtreecommitdiff
blob: ee3689cddd70155ad65f6ded70faf2cdab39e1d4 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Bug: https://bugs.gentoo.org/875158

Patch: https://src.fedoraproject.org/rpms/xournal/raw/dacd5bf30ec95debca62946868d9450f68ea54de/f/xournal-c99-1.patch
Patch: https://src.fedoraproject.org/rpms/xournal/raw/dacd5bf30ec95debca62946868d9450f68ea54de/f/xournal-c99-2.patch
Author: Denis Auroux <auroux@users.sourceforge.net>
Date:   Sun Jan 24 15:48:16 2021 -0500

    Fix implicit function declarations by including config.h in ttsubset/*.c

--- a/src/ttsubset/list.c
+++ b/src/ttsubset/list.c
@@ -33,7 +33,7 @@
  *
  */
 
-/* $Id$ */
+/* $Id: list.c,v 1.4 2004/09/10 18:59:06 jody Exp $ */
 /* @(#)list.c 1.7 03/02/06 SMI */
 
 /*
@@ -44,6 +44,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <assert.h>
 #ifdef MALLOC_TRACE
--- a/src/ttsubset/sft.c
+++ b/src/ttsubset/sft.c
@@ -33,7 +33,7 @@
  *
  */
 
-/* $Id$ */
+/* $Id: sft.c,v 1.9 2005/01/04 20:10:46 jody Exp $ */
 /* @(#)sft.c 1.17 03/01/08 SMI */
 
 /*
@@ -43,6 +43,10 @@
  * @version 1.0
  */
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <assert.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/ttsubset/ttcr.c
+++ b/src/ttsubset/ttcr.c
@@ -33,7 +33,7 @@
  *
  */
 
-/* $Id$ */
+/* $Id: ttcr.c,v 1.7 2005/01/04 20:10:46 jody Exp $ */
 /* @(#)ttcr.c 1.7 03/01/08 SMI */
 
 /*
@@ -44,6 +44,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sys/types.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>

Add missing include directives for make_dashed, set_cursor_busy.

--- a/src/xo-image.c
+++ b/src/xo-image.c
@@ -25,6 +25,8 @@
 #include "xo-support.h"
 #include "xo-image.h"
 #include "xo-misc.h"
+#include "xo-selection.h"
+#include "xo-paint.h"
 
 // create pixbuf from buffer, or return NULL on failure
 GdkPixbuf *pixbuf_from_buffer(const gchar *buf, gsize buflen)