aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xaos/files/patch-ab
blob: 1f412c8d8f74ea255ad24379485756e583a12915 (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
44
45
46
47
48
49
--- src/filter/filter.c--   Thu Mar  5 03:19:12 1998
+++ src/filter/filter.c Fri Jul  3 13:43:18 1998
@@ -1,5 +1,12 @@
+#if defined(HAVE_SYS_PARAM_H)
+#include <sys/param.h>
+#endif
 #ifndef _plan9_
+#if (!defined(BSD) || (BSD < 199506))
 #include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
 #else
 #include <u.h>
 #include <libc.h>
--- src/filter/image.c--    Thu Mar  5 03:19:12 1998
+++ src/filter/image.c  Fri Jul  3 13:40:07 1998
@@ -1,5 +1,12 @@
+#if defined(HAVE_SYS_PARAM_H)
+#include <sys/param.h>
+#endif
 #ifndef _plan9_
+#if (!defined(BSD) || (BSD < 199506))
 #include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
 #include <string.h>
 #include <fconfig.h>
 #include <assert.h>
--- src/filter/palette.c--  Thu Mar  5 03:19:12 1998
+++ src/filter/palette.c    Fri Jul  3 14:54:09 1998
@@ -1,3 +1,6 @@
+#if defined(HAVE_SYS_PARAM_H)
+#include <sys/param.h>
+#endif
 #ifdef _plan9_
 #include <u.h>
 #include <libc.h>
@@ -10,7 +13,9 @@
 #include <config.h>
 #include <assert.h>
 #include <stdio.h>
+#if (!defined(BSD) || (BSD < 199506))
 #include <malloc.h>
+#endif
 #include <limits.h>
 #endif
 #include <fconfig.h>