summaryrefslogtreecommitdiff
path: root/deskutils/xrolo/files/patch-panel.c
blob: 9306bd8febb7d7ebcd1b9acd71e6468b3a17f1ee (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 Oct  1 20:05:54 2005
***************
*** 35,40 ****
--- 35,48 ----
   */
  
  
+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
+ #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 ----