changeset 26087:e0d966fb548f

Add support for large files, plus some locale improvements. * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c, xrdb-cpp.c, xrdb.c: Include <config.h> before any system include files. * lwlib-Xm.c, lwlib.c: Do not include <stdlib.h> or <string.h>, as <config.h> does this.
author Paul Eggert <eggert@twinsun.com>
date Tue, 19 Oct 1999 07:21:16 +0000
parents cc03e8352d48
children b7aa6ac26872
files lwlib/ChangeLog lwlib/dispatch.c lwlib/lwlib-Xaw.c lwlib/lwlib-Xlw.c lwlib/lwlib-Xm.c lwlib/lwlib.c lwlib/xlwmenu.c lwlib/xrdb-cpp.c lwlib/xrdb.c
diffstat 9 files changed, 43 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/ChangeLog	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/ChangeLog	Tue Oct 19 07:21:16 1999 +0000
@@ -1,3 +1,14 @@
+1999-10-19  Paul Eggert  <eggert@twinsun.com>
+	
+	Add support for large files, plus some locale improvements.
+
+	* dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
+	xrdb-cpp.c, xrdb.c:
+	Include <config.h> before any system include files.
+
+	* lwlib-Xm.c, lwlib.c:
+	Do not include <stdlib.h> or <string.h>, as <config.h> does this.
+	
 1999-10-07  Gerd Moellmann  <gerd@gnu.org>
 
 	* lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use
--- a/lwlib/dispatch.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/dispatch.c	Tue Oct 19 07:21:16 1999 +0000
@@ -27,6 +27,10 @@
  *   compile this file unless you have the Xt sources online.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <IntrinsicI.h>   /* Don't change this: see comments in Imakefile. */
 #include <X11/Xatom.h>
 #include "dispatch.h"
--- a/lwlib/lwlib-Xaw.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/lwlib-Xaw.c	Tue Oct 19 07:21:16 1999 +0000
@@ -18,6 +18,10 @@
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include "lwlib-Xaw.h"
--- a/lwlib/lwlib-Xlw.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/lwlib-Xlw.c	Tue Oct 19 07:21:16 1999 +0000
@@ -18,6 +18,10 @@
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "lwlib-Xlw.h"
 #include <X11/StringDefs.h>
 #include <X11/IntrinsicP.h>
--- a/lwlib/lwlib-Xm.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/lwlib-Xm.c	Tue Oct 19 07:21:16 1999 +0000
@@ -18,9 +18,11 @@
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <unistd.h>
-#include <string.h>
 #include <stdio.h>
 
 #include <X11/StringDefs.h>
--- a/lwlib/lwlib.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/lwlib.c	Tue Oct 19 07:21:16 1999 +0000
@@ -22,6 +22,10 @@
 #undef __STRICT_BSD__ /* ick */
 #endif
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <sys/types.h>
 #include <stdio.h>
 #include <ctype.h>
@@ -29,10 +33,6 @@
 #include "lwlib-utils.h"
 #include <X11/StringDefs.h>
 
-#ifdef __osf__
-#include <string.h>
-#include <stdlib.h>
-#endif
 extern long *xmalloc();
 
 #if defined (USE_LUCID)
--- a/lwlib/xlwmenu.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/xlwmenu.c	Tue Oct 19 07:21:16 1999 +0000
@@ -20,6 +20,10 @@
 
 /* Created by devin@lucid.com */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <sys/types.h>
--- a/lwlib/xrdb-cpp.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/xrdb-cpp.c	Tue Oct 19 07:21:16 1999 +0000
@@ -29,6 +29,10 @@
 #define __STDC_EXTENDED__
 #endif
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <ctype.h>
 #include <X11/Xlib.h>
--- a/lwlib/xrdb.c	Tue Oct 19 07:20:29 1999 +0000
+++ b/lwlib/xrdb.c	Tue Oct 19 07:21:16 1999 +0000
@@ -4,6 +4,10 @@
    avoid version skew problems.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <X11/Xlib.h>
 #include <X11/cursorfont.h>
 #include <X11/Xutil.h>