summaryrefslogtreecommitdiff
path: root/lwlib/lwlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lwlib/lwlib.c')
-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