Commit 0f0912e6 authored by Paul Eggert's avatar Paul Eggert

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.
parent ef83dfaf
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> 1999-10-07 Gerd Moellmann <gerd@gnu.org>
* lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use
......
...@@ -27,6 +27,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,6 +27,10 @@ Boston, MA 02111-1307, USA. */
* compile this file unless you have the Xt sources online. * 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 <IntrinsicI.h> /* Don't change this: see comments in Imakefile. */
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include "dispatch.h" #include "dispatch.h"
......
...@@ -18,6 +18,10 @@ along with GNU Emacs; see the file COPYING. If not, write to ...@@ -18,6 +18,10 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include "lwlib-Xaw.h" #include "lwlib-Xaw.h"
......
...@@ -18,6 +18,10 @@ along with GNU Emacs; see the file COPYING. If not, write to ...@@ -18,6 +18,10 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "lwlib-Xlw.h" #include "lwlib-Xlw.h"
#include <X11/StringDefs.h> #include <X11/StringDefs.h>
#include <X11/IntrinsicP.h> #include <X11/IntrinsicP.h>
......
...@@ -18,9 +18,11 @@ along with GNU Emacs; see the file COPYING. If not, write to ...@@ -18,9 +18,11 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include <stdlib.h> #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <unistd.h> #include <unistd.h>
#include <string.h>
#include <stdio.h> #include <stdio.h>
#include <X11/StringDefs.h> #include <X11/StringDefs.h>
......
...@@ -22,6 +22,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -22,6 +22,10 @@ Boston, MA 02111-1307, USA. */
#undef __STRICT_BSD__ /* ick */ #undef __STRICT_BSD__ /* ick */
#endif #endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
...@@ -29,10 +33,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,10 +33,6 @@ Boston, MA 02111-1307, USA. */
#include "lwlib-utils.h" #include "lwlib-utils.h"
#include <X11/StringDefs.h> #include <X11/StringDefs.h>
#ifdef __osf__
#include <string.h>
#include <stdlib.h>
#endif
extern long *xmalloc(); extern long *xmalloc();
#if defined (USE_LUCID) #if defined (USE_LUCID)
......
...@@ -20,6 +20,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -20,6 +20,10 @@ Boston, MA 02111-1307, USA. */
/* Created by devin@lucid.com */ /* Created by devin@lucid.com */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
......
...@@ -29,6 +29,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,6 +29,10 @@ Boston, MA 02111-1307, USA. */
#define __STDC_EXTENDED__ #define __STDC_EXTENDED__
#endif #endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
avoid version skew problems. avoid version skew problems.
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/cursorfont.h> #include <X11/cursorfont.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment