blob: 3fbf5edd268bd8ffa6d7c19df1e481067c0bb728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-ac,v 1.2 1998/08/07 11:18:35 agc Exp $
diff -rc ../old/xview3.2p1-X11R6/lib/libolgx/ol_init.c ./lib/libolgx/ol_init.c
*** ../old/xview3.2p1-X11R6/lib/libolgx/ol_init.c Tue Jun 29 01:18:28 1993
--- ./lib/libolgx/ol_init.c Sun Nov 20 13:38:59 1994
***************
*** 9,15 ****
--- 9,18 ----
#include <stdio.h>
#include <stdlib.h>
+ #include <sys/param.h>
+ #if !(defined(BSD) && (BSD >= 199103))
#include <malloc.h>
+ #endif
#include <X11/Xlib.h>
#include "olgx_impl.h"
#include "busy.h"
diff -rc ../old/xview3.2p1-X11R6/lib/libolgx/ol_sb.c ./lib/libolgx/ol_sb.c
*** ../old/xview3.2p1-X11R6/lib/libolgx/ol_sb.c Tue Jun 29 01:18:29 1993
--- ./lib/libolgx/ol_sb.c Sun Nov 20 13:38:59 1994
***************
*** 11,17 ****
--- 11,22 ----
*/
#include <stdio.h>
+ #include <sys/param.h>
+ #if (defined(BSD) && (BSD >= 199103))
+ #include <stdlib.h>
+ #else
#include <malloc.h>
+ #endif
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "olgx_impl.h"
|