From 0f0912e6442b71ed549b625bfc694581787da97e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 19 Oct 1999 07:21:16 +0000 Subject: [PATCH] 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 before any system include files. * lwlib-Xm.c, lwlib.c: Do not include or , as does this. --- lwlib/ChangeLog | 11 +++++++++++ lwlib/dispatch.c | 4 ++++ lwlib/lwlib-Xaw.c | 4 ++++ lwlib/lwlib-Xlw.c | 4 ++++ lwlib/lwlib-Xm.c | 6 ++++-- lwlib/lwlib.c | 8 ++++---- lwlib/xlwmenu.c | 4 ++++ lwlib/xrdb-cpp.c | 4 ++++ lwlib/xrdb.c | 4 ++++ 9 files changed, 43 insertions(+), 6 deletions(-) diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 48b46f56ada..abbe7ef1134 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,14 @@ +1999-10-19 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 before any system include files. + + * lwlib-Xm.c, lwlib.c: + Do not include or , as does this. + 1999-10-07 Gerd Moellmann * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use diff --git a/lwlib/dispatch.c b/lwlib/dispatch.c index 5c554d67fd2..7e70a43105b 100644 --- a/lwlib/dispatch.c +++ b/lwlib/dispatch.c @@ -27,6 +27,10 @@ Boston, MA 02111-1307, USA. */ * compile this file unless you have the Xt sources online. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include /* Don't change this: see comments in Imakefile. */ #include #include "dispatch.h" diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c index e56a11c265a..f2feb32746f 100644 --- a/lwlib/lwlib-Xaw.c +++ b/lwlib/lwlib-Xaw.c @@ -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, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "lwlib-Xaw.h" diff --git a/lwlib/lwlib-Xlw.c b/lwlib/lwlib-Xlw.c index a927d40bf25..ee6596c27ef 100644 --- a/lwlib/lwlib-Xlw.c +++ b/lwlib/lwlib-Xlw.c @@ -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, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "lwlib-Xlw.h" #include #include diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 285e961f3bb..460839f8a09 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -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, Boston, MA 02111-1307, USA. */ -#include +#ifdef HAVE_CONFIG_H +#include +#endif + #include -#include #include #include diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c index f2e564137fe..1f114059778 100644 --- a/lwlib/lwlib.c +++ b/lwlib/lwlib.c @@ -22,6 +22,10 @@ Boston, MA 02111-1307, USA. */ #undef __STRICT_BSD__ /* ick */ #endif +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include @@ -29,10 +33,6 @@ Boston, MA 02111-1307, USA. */ #include "lwlib-utils.h" #include -#ifdef __osf__ -#include -#include -#endif extern long *xmalloc(); #if defined (USE_LUCID) diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index d32d923ebc0..cadd02584af 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -20,6 +20,10 @@ Boston, MA 02111-1307, USA. */ /* Created by devin@lucid.com */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/lwlib/xrdb-cpp.c b/lwlib/xrdb-cpp.c index 4ede12e7652..b6a167c0517 100644 --- a/lwlib/xrdb-cpp.c +++ b/lwlib/xrdb-cpp.c @@ -29,6 +29,10 @@ Boston, MA 02111-1307, USA. */ #define __STDC_EXTENDED__ #endif +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include diff --git a/lwlib/xrdb.c b/lwlib/xrdb.c index e922a60342b..d777c303d61 100644 --- a/lwlib/xrdb.c +++ b/lwlib/xrdb.c @@ -4,6 +4,10 @@ avoid version skew problems. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- 2.39.5