summaryrefslogtreecommitdiff
path: root/deskutils/xrolo/files/patch-ad
blob: 9ae8adcf59b5a1046f3eddf566dde24bb1dac9a3 (plain) (blame)
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
37
38
39
40
41
42
43
*** panel.c.orig	Wed Dec  4 01:38:09 1991
--- panel.c	Sat Jan  9 22:49:59 1999
***************
*** 35,40 ****
--- 35,48 ----
   */
  
  
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+ #endif
+ 
+ #if (defined(BSD) && (BSD >= 199306))
+ #include <stdlib.h>
+ #endif
+ 
  #include <stdio.h>
  #include <strings.h>
  #include <xview/xview.h>
***************
*** 46,52 ****
  #include <xview/svrimage.h>
  #include <sys/param.h>
  #include <ctype.h>
! #if !defined (sgi)
  #include <alloca.h>
  #endif
  #include <string.h>
--- 54,60 ----
  #include <xview/svrimage.h>
  #include <sys/param.h>
  #include <ctype.h>
! #if !defined (sgi) && !(defined(BSD) && (BSD >= 199306))
  #include <alloca.h>
  #endif
  #include <string.h>
***************
*** 2462,2465 ****
  	  return(--s1);
  	return( NULL );
  }
- 
--- 2470,2472 ----