summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-04 16:15:43 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-04 16:15:43 +0000
commit2f92b23e64f0deb0ef2539473ab6c12bf2f1b66a (patch)
treeb4b33e6f9d99d6db54f65aad8739e24b2fb20dca
parent780a79178b27f024efeff1f6faa18564067970b7 (diff)
downloademacs-2f92b23e64f0deb0ef2539473ab6c12bf2f1b66a.tar.gz
[__osf__]: Include string.h and stdlib.h.
[__osf__] (xmalloc): Declared.
-rw-r--r--lwlib/lwlib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index e18f95b68c9..0df82d0207a 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -28,6 +28,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "lwlib-utils.h"
#include <X11/StringDefs.h>
+#ifdef __osf__
+#include <string.h>
+#include <stdlib.h>
+extern long *xmalloc();
+#endif
+
#if defined (USE_LUCID)
#include "lwlib-Xlw.h"
#endif