# HG changeset patch # User ben # Date 1129251750 0 # Node ID 49316578f12d45aec70105d588b2616783958a7d # Parent fd7c5f4f298396186fe7fe26e7d84313ad5e5012 [xemacs-hg @ 2005-10-14 01:02:29 by ben] Include config.h in lib-src progs i.c, mmencode.c: Always include config.h first. winclient.c: Move include of windows.h after config.h. diff -r fd7c5f4f2983 -r 49316578f12d lib-src/ChangeLog --- a/lib-src/ChangeLog Fri Oct 14 01:00:45 2005 +0000 +++ b/lib-src/ChangeLog Fri Oct 14 01:02:30 2005 +0000 @@ -1,3 +1,11 @@ +2005-10-13 Ben Wing + + * i.c: + * mmencode.c: + Always include config.h first. + * winclient.c: + Move include of windows.h after config.h. + 2005-09-18 Mike Alexander * installexe.sh: Don't add an exe extention to a file that already diff -r fd7c5f4f2983 -r 49316578f12d lib-src/i.c --- a/lib-src/i.c Fri Oct 14 01:00:45 2005 +0000 +++ b/lib-src/i.c Fri Oct 14 01:02:30 2005 +0000 @@ -31,6 +31,10 @@ command ina script, especially when its standart output should be obtained programmatically. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff -r fd7c5f4f2983 -r 49316578f12d lib-src/mmencode.c --- a/lib-src/mmencode.c Fri Oct 14 01:00:45 2005 +0000 +++ b/lib-src/mmencode.c Fri Oct 14 01:02:30 2005 +0000 @@ -13,6 +13,9 @@ WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. */ +#ifdef HAVE_CONFIG_H +# include +#endif #define NEWLINE_CHAR '\n' #include #include diff -r fd7c5f4f2983 -r 49316578f12d lib-src/winclient.c --- a/lib-src/winclient.c Fri Oct 14 01:00:45 2005 +0000 +++ b/lib-src/winclient.c Fri Oct 14 01:02:30 2005 +0000 @@ -22,10 +22,11 @@ /* -- Includes -------------------------------------------------------------- */ -#include #ifdef HAVE_CONFIG_H # include #endif +#include +#include #include #include #include