Mercurial > hg > xemacs-beta
changeset 2993:49316578f12d
[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.
author | ben |
---|---|
date | Fri, 14 Oct 2005 01:02:30 +0000 |
parents | fd7c5f4f2983 |
children | ec5f23ea6d2e |
files | lib-src/ChangeLog lib-src/i.c lib-src/mmencode.c lib-src/winclient.c |
diffstat | 4 files changed, 17 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <ben@xemacs.org> + + * i.c: + * mmencode.c: + Always include config.h first. + * winclient.c: + Move include of windows.h after config.h. + 2005-09-18 Mike Alexander <mta@arbortext.com> * installexe.sh: Don't add an exe extention to a file that already
--- 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 <config.h> +#endif + #include <windows.h> #include <stdio.h> #include <string.h>
--- 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 <config.h> +#endif #define NEWLINE_CHAR '\n' #include <stdlib.h> #include <stdio.h>
--- 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 <windows.h> #ifdef HAVE_CONFIG_H # include <config.h> #endif +#include <windows.h> +#include <ddeml.h> #include <stdlib.h> #include <stdio.h> #include <ctype.h>