summaryrefslogtreecommitdiff
path: root/lwlib/lwlib.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1999-10-19 07:21:16 +0000
committerPaul Eggert <eggert@twinsun.com>1999-10-19 07:21:16 +0000
commit0f0912e6442b71ed549b625bfc694581787da97e (patch)
treeea3f2e3c59e399ee3659ce7524c63c20a63800ba /lwlib/lwlib.c
parentef83dfaf7da4dd955609358a7568399b09ead40f (diff)
downloademacs-0f0912e6442b71ed549b625bfc694581787da97e.tar.gz
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.
Diffstat (limited to 'lwlib/lwlib.c')
-rw-r--r--lwlib/lwlib.c8
1 files changed, 4 insertions, 4 deletions
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 <config.h>
+#endif
+
#include <sys/types.h>
#include <stdio.h>
#include <ctype.h>
@@ -29,10 +33,6 @@ Boston, MA 02111-1307, USA. */
#include "lwlib-utils.h"
#include <X11/StringDefs.h>
-#ifdef __osf__
-#include <string.h>
-#include <stdlib.h>
-#endif
extern long *xmalloc();
#if defined (USE_LUCID)