blob: 8ec5005c772c49bd744514b2939b140bb34b810e (
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
|
--- lib/libxview/base/base.h.orig Wed Oct 1 23:53:39 2003
+++ lib/libxview/base/base.h Wed Oct 1 23:53:39 2003
@@ -6,10 +6,15 @@
* file for terms of the license.
*/
+#include <sys/param.h>
#ifndef xview_base_DEFINED
#define xview_base_DEFINED
#include <string.h>
+#ifdef __STDC__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <xview/xv_c_types.h>
@@ -54,10 +59,12 @@
* non-SVR4 systems.
*/
#ifndef SUNOS41
+#if !(defined(BSD) && (BSD >= 199103))
#define XV_OS_SVR4
-#define XV_USE_TTCOMPAT
#define SYSV_WAIT
#define SYSV_UCONTEXT
+#endif
+#define XV_USE_TTCOMPAT
#define XV_USE_XVFCNTL
#endif
|