summaryrefslogtreecommitdiff
path: root/x11/libhelp/files/patch-ad
blob: 11cf27ec09cdd940b0e6fe2b4405ee854ab21f52 (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
diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c libhtmlw/HTML-PSformat.c
*** ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c	Mon Dec 26 12:15:57 1994
--- libhtmlw/HTML-PSformat.c	Sun May 30 18:26:14 1999
***************
*** 47,57 ****
  #include <stdio.h>
  #include <ctype.h>
  #include <math.h>
! #include <malloc.h>
  #include "HTMLP.h"
  
  /* Fix thanks to robm. */
! #ifdef __alpha
  #include <Xm/VaSimple.h>
  #endif
  
--- 47,61 ----
  #include <stdio.h>
  #include <ctype.h>
  #include <math.h>
! #ifdef __FreeBSD__
! # include <stdlib.h>
! #else
! # include <malloc.h>
! #endif
  #include "HTMLP.h"
  
  /* Fix thanks to robm. */
! #if defined(__alpha) && !defined(__FreeBSD__)
  #include <Xm/VaSimple.h>
  #endif
  
***************
*** 1507,1510 ****
  
  	return( PS_string);
  }
- 
--- 1511,1513 ----