File: fix_ftbfs_implicit-function-declaration.patch

package info (click to toggle)
gbatnav 1.0.4cvs20051004-8
  • links: PTS
  • area: main
  • in suites: sid
  • size: 4,780 kB
  • sloc: ansic: 14,122; sh: 11,667; makefile: 643; yacc: 288; xml: 42; sed: 16
file content (41 lines) | stat: -rw-r--r-- 1,337 bytes parent folder | download | duplicates (2)
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
Description: Fix FTBFS due to -Werror=implicit-function-declaration
Bug-Debian: https://bugs.debian.org/1066198
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Last-Update: 2024-03-25
Index: gbatnav-1.0.4cvs20051004/gbnserver/gbnserver.c
===================================================================
--- gbatnav-1.0.4cvs20051004.orig/gbnserver/gbnserver.c
+++ gbatnav-1.0.4cvs20051004/gbnserver/gbnserver.c
@@ -44,6 +44,7 @@
 #include "bnwrite.h"
 #include "batnavggz.h"
 #include "common.h"
+#include "net.h"
 
 struct st_datos usuario;
 
Index: gbatnav-1.0.4cvs20051004/gbnclient/sendmsg.c
===================================================================
--- gbatnav-1.0.4cvs20051004.orig/gbnclient/sendmsg.c
+++ gbatnav-1.0.4cvs20051004/gbnclient/sendmsg.c
@@ -6,6 +6,7 @@
 #include "pantalla.h"
 #include "gbnclient.h"
 #include "bnwrite.h"
+#include "net.h"
 
 void inputline_return(GtkWidget *w, gpointer data)
 {
Index: gbatnav-1.0.4cvs20051004/gbnclient/gbnclient.c
===================================================================
--- gbatnav-1.0.4cvs20051004.orig/gbnclient/gbnclient.c
+++ gbatnav-1.0.4cvs20051004/gbnclient/gbnclient.c
@@ -39,6 +39,8 @@
 #include "bnwrite.h"
 #include "version.h"
 #include "g_connect.h"
+#include "common.h"
+#include "net.h"
 
 struct usuario usuario;
 GSettings *settings;