NOTE: This patch has been committed.
lib-src/ChangeLog addition:
2005-10-13 Ben Wing <ben(a)xemacs.org>
* i.c:
* mmencode.c:
Always include config.h first.
* winclient.c:
Move include of windows.h after config.h.
build source patch:
Diff command: bash -ci "cvs-diff --show-c-function -no-changelog "
Files affected: lib-src/winclient.c lib-src/mmencode.c lib-src/i.c
cvs server: Diffing lib-src
Index: lib-src/i.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/i.c,v
retrieving revision 1.5
diff -u -p -r1.5 i.c
--- lib-src/i.c 2004/12/07 00:20:51 1.5
+++ lib-src/i.c 2005/10/14 01:01:31
@@ -31,6 +31,10 @@ does. It can be used also when xemacs s
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>
Index: lib-src/mmencode.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/mmencode.c,v
retrieving revision 1.8
diff -u -p -r1.8 mmencode.c
--- lib-src/mmencode.c 2001/08/13 04:45:48 1.8
+++ lib-src/mmencode.c 2005/10/14 01:01:32
@@ -13,6 +13,9 @@ OF THIS MATERIAL FOR ANY PURPOSE. IT IS
WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#define NEWLINE_CHAR '\n'
#include <stdlib.h>
#include <stdio.h>
Index: lib-src/winclient.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lib-src/winclient.c,v
retrieving revision 1.3
diff -u -p -r1.3 winclient.c
--- lib-src/winclient.c 2002/05/28 08:44:26 1.3
+++ lib-src/winclient.c 2005/10/14 01:01:32
@@ -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>
Show replies by date