Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2846) more #include <config.h>
Home

[Freeciv-Dev] (PR#2846) more #include <config.h>

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2846) more #include <config.h>
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 17 Jan 2003 11:44:56 -0800
Reply-to: rt@xxxxxxxxxxxxxx

As discussed on PR#2593, some files are still missing an "#include 
<config.h>".

jason

Index: amiga/amigaclient.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/amiga/amigaclient.c,v
retrieving revision 1.11
diff -u -r1.11 amigaclient.c
--- amiga/amigaclient.c 2002/07/04 20:34:23     1.11
+++ amiga/amigaclient.c 2003/01/17 19:43:38
@@ -14,6 +14,10 @@
 function main() and call main2() afterwards. This depends on your compiler.
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /* remove usage of strerror prototype */
 #define strerror strerror_unuse
 
Index: amiga/amigaserver.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/amiga/amigaserver.c,v
retrieving revision 1.14
diff -u -r1.14 amigaserver.c
--- amiga/amigaserver.c 2002/07/04 20:34:23     1.14
+++ amiga/amigaserver.c 2003/01/17 19:43:38
@@ -14,6 +14,10 @@
 function main() and call main2() afterwards. This depends on your compiler.
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <ctype.h>
 #include <stdio.h>
 #include <string.h>
Index: amiga/gettext.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/amiga/gettext.c,v
retrieving revision 1.10
diff -u -r1.10 gettext.c
--- amiga/gettext.c     2002/05/05 13:03:58     1.10
+++ amiga/gettext.c     2003/01/17 19:43:38
@@ -25,6 +25,10 @@
   convert KOI8-R charset to the chareset used on Amiga
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
Index: amiga/vsnprintf.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/amiga/vsnprintf.c,v
retrieving revision 1.2
diff -u -r1.2 vsnprintf.c
--- amiga/vsnprintf.c   2001/07/31 13:46:18     1.2
+++ amiga/vsnprintf.c   2003/01/17 19:43:39
@@ -41,6 +41,10 @@
 2000-12-28
 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
Index: client/gui-sdl/colors.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-sdl/colors.c,v
retrieving revision 1.3
diff -u -r1.3 colors.c
--- client/gui-sdl/colors.c     2003/01/15 02:35:04     1.3
+++ client/gui-sdl/colors.c     2003/01/17 19:43:39
@@ -19,6 +19,10 @@
     email                : Rafa³ Bursig <bursig@xxxxxxxxx>
  **********************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 /*#include <stdio.h>*/
 
 #include <SDL/SDL.h>
Index: client/gui-sdl/gui_dither.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-sdl/gui_dither.c,v
retrieving revision 1.1
diff -u -r1.1 gui_dither.c
--- client/gui-sdl/gui_dither.c 2002/12/02 08:47:02     1.1
+++ client/gui-sdl/gui_dither.c 2003/01/17 19:43:39
@@ -19,6 +19,10 @@
     email                : Rafa³ Bursig <bursig@xxxxxxxxx>
  **********************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 
 #include <SDL/SDL.h>
Index: client/gui-sdl/gui_iconv.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-sdl/gui_iconv.c,v
retrieving revision 1.2
diff -u -r1.2 gui_iconv.c
--- client/gui-sdl/gui_iconv.c  2002/12/30 21:40:50     1.2
+++ client/gui-sdl/gui_iconv.c  2003/01/17 19:43:39
@@ -23,6 +23,10 @@
        
 ***********************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 
Index: client/gui-sdl/gui_zoom.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-sdl/gui_zoom.c,v
retrieving revision 1.1
diff -u -r1.1 gui_zoom.c
--- client/gui-sdl/gui_zoom.c   2002/12/02 08:47:02     1.1
+++ client/gui-sdl/gui_zoom.c   2003/01/17 19:43:39
@@ -28,6 +28,10 @@
  *
  ***************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <SDL/SDL.h>
Index: client/gui-sdl/unistring.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-sdl/unistring.c,v
retrieving revision 1.1
diff -u -r1.1 unistring.c
--- client/gui-sdl/unistring.c  2002/12/02 08:47:03     1.1
+++ client/gui-sdl/unistring.c  2003/01/17 19:43:39
@@ -19,6 +19,10 @@
     email                : Rafa³ Bursig <bursig@xxxxxxxxx>
  ***************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2846) more #include <config.h>, Jason Short via RT <=