<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39599 >

> [EMAIL PROTECTED] - Di 21. Aug 2007, 20:03:43]:
> 
>  At least in S2_1:
> 
>  ../../../src.patched/client/gui-sdl/gui_main.c: In function
> ‘gui_event_loop’:
> ../../../src.patched/client/gui-sdl/gui_main.c:560: warning: implicit
> declaration of function ‘my_select’
> 

Patches attached. Committed as S2_1 r13367 and trunk r13368.
Index: client/gui-sdl/gui_main.c
===================================================================
--- client/gui-sdl/gui_main.c	(revision 13366)
+++ client/gui-sdl/gui_main.c	(working copy)
@@ -43,6 +43,7 @@
 #include "fciconv.h"
 #include "fcintl.h"
 #include "log.h"
+#include "netintf.h"
 
 /* common */
 #include "unitlist.h"
Index: client/gui-win32/gui_main.c
===================================================================
--- client/gui-win32/gui_main.c	(revision 13366)
+++ client/gui-win32/gui_main.c	(working copy)
@@ -27,6 +27,7 @@
 #include "log.h"
 #include "map.h"
 #include "mem.h"
+#include "netintf.h"
 #include "shared.h"
 #include "support.h"
 #include "version.h"
Index: utility/ftwl/be_sdl.c
===================================================================
--- utility/ftwl/be_sdl.c	(revision 13366)
+++ utility/ftwl/be_sdl.c	(working copy)
@@ -28,6 +28,7 @@
 #include "fcintl.h"
 #include "log.h"
 #include "mem.h"
+#include "netintf.h"
 
 static int other_fd = -1;
 
Index: utility/ftwl/be_x11_ximage.c
===================================================================
--- utility/ftwl/be_x11_ximage.c	(revision 13366)
+++ utility/ftwl/be_x11_ximage.c	(working copy)
@@ -33,6 +33,7 @@
 #include "shared.h"
 
 #include "mem.h"
+#include "netintf.h"
 
 // fixme
 #include "timing.h"
Index: client/gui-sdl/gui_main.c
===================================================================
--- client/gui-sdl/gui_main.c	(revision 13366)
+++ client/gui-sdl/gui_main.c	(working copy)
@@ -43,6 +43,7 @@
 #include "fciconv.h"
 #include "fcintl.h"
 #include "log.h"
+#include "netintf.h"
 
 /* common */
 #include "unitlist.h"
Index: client/gui-win32/gui_main.c
===================================================================
--- client/gui-win32/gui_main.c	(revision 13366)
+++ client/gui-win32/gui_main.c	(working copy)
@@ -27,6 +27,7 @@
 #include "log.h"
 #include "map.h"
 #include "mem.h"
+#include "netintf.h"
 #include "shared.h"
 #include "support.h"
 #include "version.h"
Index: utility/ftwl/be_sdl.c
===================================================================
--- utility/ftwl/be_sdl.c	(revision 13366)
+++ utility/ftwl/be_sdl.c	(working copy)
@@ -28,6 +28,7 @@
 #include "fcintl.h"
 #include "log.h"
 #include "mem.h"
+#include "netintf.h"
 
 static int other_fd = -1;
 
Index: utility/ftwl/be_x11_cairo_32.c
===================================================================
--- utility/ftwl/be_x11_cairo_32.c	(revision 13366)
+++ utility/ftwl/be_x11_cairo_32.c	(working copy)
@@ -36,6 +36,7 @@
 #include "shared.h"
 
 #include "mem.h"
+#include "netintf.h"
 
 // fixme
 #include "timing.h"
Index: utility/ftwl/be_x11_ximage_32.c
===================================================================
--- utility/ftwl/be_x11_ximage_32.c	(revision 13366)
+++ utility/ftwl/be_x11_ximage_32.c	(working copy)
@@ -33,6 +33,7 @@
 #include "shared.h"
 
 #include "mem.h"
+#include "netintf.h"
 
 // fixme
 #include "timing.h"
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to