diff options
| author | Paul Eggert | 1999-10-19 07:21:16 +0000 |
|---|---|---|
| committer | Paul Eggert | 1999-10-19 07:21:16 +0000 |
| commit | 0f0912e6442b71ed549b625bfc694581787da97e (patch) | |
| tree | ea3f2e3c59e399ee3659ce7524c63c20a63800ba | |
| parent | ef83dfaf7da4dd955609358a7568399b09ead40f (diff) | |
| download | emacs-0f0912e6442b71ed549b625bfc694581787da97e.tar.gz emacs-0f0912e6442b71ed549b625bfc694581787da97e.zip | |
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.
| -rw-r--r-- | lwlib/ChangeLog | 11 | ||||
| -rw-r--r-- | lwlib/dispatch.c | 4 | ||||
| -rw-r--r-- | lwlib/lwlib-Xaw.c | 4 | ||||
| -rw-r--r-- | lwlib/lwlib-Xlw.c | 4 | ||||
| -rw-r--r-- | lwlib/lwlib-Xm.c | 6 | ||||
| -rw-r--r-- | lwlib/lwlib.c | 8 | ||||
| -rw-r--r-- | lwlib/xlwmenu.c | 4 | ||||
| -rw-r--r-- | lwlib/xrdb-cpp.c | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 1999-10-19 Paul Eggert <eggert@twinsun.com> | ||
| 2 | |||
| 3 | Add support for large files, plus some locale improvements. | ||
| 4 | |||
| 5 | * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c, | ||
| 6 | xrdb-cpp.c, xrdb.c: | ||
| 7 | Include <config.h> before any system include files. | ||
| 8 | |||
| 9 | * lwlib-Xm.c, lwlib.c: | ||
| 10 | Do not include <stdlib.h> or <string.h>, as <config.h> does this. | ||
| 11 | |||
| 1 | 1999-10-07 Gerd Moellmann <gerd@gnu.org> | 12 | 1999-10-07 Gerd Moellmann <gerd@gnu.org> |
| 2 | 13 | ||
| 3 | * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use | 14 | * 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. */ | |||
| 27 | * compile this file unless you have the Xt sources online. | 27 | * compile this file unless you have the Xt sources online. |
| 28 | */ | 28 | */ |
| 29 | 29 | ||
| 30 | #ifdef HAVE_CONFIG_H | ||
| 31 | #include <config.h> | ||
| 32 | #endif | ||
| 33 | |||
| 30 | #include <IntrinsicI.h> /* Don't change this: see comments in Imakefile. */ | 34 | #include <IntrinsicI.h> /* Don't change this: see comments in Imakefile. */ |
| 31 | #include <X11/Xatom.h> | 35 | #include <X11/Xatom.h> |
| 32 | #include "dispatch.h" | 36 | #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 | |||
| 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | Boston, MA 02111-1307, USA. */ | 19 | Boston, MA 02111-1307, USA. */ |
| 20 | 20 | ||
| 21 | #ifdef HAVE_CONFIG_H | ||
| 22 | #include <config.h> | ||
| 23 | #endif | ||
| 24 | |||
| 21 | #include <stdio.h> | 25 | #include <stdio.h> |
| 22 | 26 | ||
| 23 | #include "lwlib-Xaw.h" | 27 | #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 | |||
| 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | Boston, MA 02111-1307, USA. */ | 19 | Boston, MA 02111-1307, USA. */ |
| 20 | 20 | ||
| 21 | #ifdef HAVE_CONFIG_H | ||
| 22 | #include <config.h> | ||
| 23 | #endif | ||
| 24 | |||
| 21 | #include "lwlib-Xlw.h" | 25 | #include "lwlib-Xlw.h" |
| 22 | #include <X11/StringDefs.h> | 26 | #include <X11/StringDefs.h> |
| 23 | #include <X11/IntrinsicP.h> | 27 | #include <X11/IntrinsicP.h> |
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 | |||
| 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | Boston, MA 02111-1307, USA. */ | 19 | Boston, MA 02111-1307, USA. */ |
| 20 | 20 | ||
| 21 | #include <stdlib.h> | 21 | #ifdef HAVE_CONFIG_H |
| 22 | #include <config.h> | ||
| 23 | #endif | ||
| 24 | |||
| 22 | #include <unistd.h> | 25 | #include <unistd.h> |
| 23 | #include <string.h> | ||
| 24 | #include <stdio.h> | 26 | #include <stdio.h> |
| 25 | 27 | ||
| 26 | #include <X11/StringDefs.h> | 28 | #include <X11/StringDefs.h> |
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. */ | |||
| 22 | #undef __STRICT_BSD__ /* ick */ | 22 | #undef __STRICT_BSD__ /* ick */ |
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | #ifdef HAVE_CONFIG_H | ||
| 26 | #include <config.h> | ||
| 27 | #endif | ||
| 28 | |||
| 25 | #include <sys/types.h> | 29 | #include <sys/types.h> |
| 26 | #include <stdio.h> | 30 | #include <stdio.h> |
| 27 | #include <ctype.h> | 31 | #include <ctype.h> |
| @@ -29,10 +33,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 29 | #include "lwlib-utils.h" | 33 | #include "lwlib-utils.h" |
| 30 | #include <X11/StringDefs.h> | 34 | #include <X11/StringDefs.h> |
| 31 | 35 | ||
| 32 | #ifdef __osf__ | ||
| 33 | #include <string.h> | ||
| 34 | #include <stdlib.h> | ||
| 35 | #endif | ||
| 36 | extern long *xmalloc(); | 36 | extern long *xmalloc(); |
| 37 | 37 | ||
| 38 | #if defined (USE_LUCID) | 38 | #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. */ | |||
| 20 | 20 | ||
| 21 | /* Created by devin@lucid.com */ | 21 | /* Created by devin@lucid.com */ |
| 22 | 22 | ||
| 23 | #ifdef HAVE_CONFIG_H | ||
| 24 | #include <config.h> | ||
| 25 | #endif | ||
| 26 | |||
| 23 | #include <stdio.h> | 27 | #include <stdio.h> |
| 24 | 28 | ||
| 25 | #include <sys/types.h> | 29 | #include <sys/types.h> |
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. */ | |||
| 29 | #define __STDC_EXTENDED__ | 29 | #define __STDC_EXTENDED__ |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #ifdef HAVE_CONFIG_H | ||
| 33 | #include <config.h> | ||
| 34 | #endif | ||
| 35 | |||
| 32 | #include <stdio.h> | 36 | #include <stdio.h> |
| 33 | #include <ctype.h> | 37 | #include <ctype.h> |
| 34 | #include <X11/Xlib.h> | 38 | #include <X11/Xlib.h> |
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 @@ | |||
| 4 | avoid version skew problems. | 4 | avoid version skew problems. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifdef HAVE_CONFIG_H | ||
| 8 | #include <config.h> | ||
| 9 | #endif | ||
| 10 | |||
| 7 | #include <X11/Xlib.h> | 11 | #include <X11/Xlib.h> |
| 8 | #include <X11/cursorfont.h> | 12 | #include <X11/cursorfont.h> |
| 9 | #include <X11/Xutil.h> | 13 | #include <X11/Xutil.h> |