summaryrefslogblamecommitdiff
path: root/graphics/xaos/files/patch-aj
blob: 8458d7f889bbdca9dc48271818d46b644b844cb5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                        
--- src/ui/ui-drv/aa/ui_aa.c--	Wed Nov 28 15:41:11 2001
+++ src/ui/ui-drv/aa/ui_aa.c	Wed Nov 28 15:43:31 2001
@@ -1,7 +1,14 @@
+#if defined(HAVE_SYS_PARAM_H)
+#include <sys/param.h>
+#endif
 #include "aconfig.h"
 #ifdef AA_DRIVER
 #include <string.h>
+#if (!defined(BSD) || (BSD < 199506))
 #include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
 #include <aalib.h>
 #include <ui.h>
 #include <unistd.h>