33 lines
689 B
Plaintext
33 lines
689 B
Plaintext
--- lib/libxview/base/base.h.orig 1993-06-29 07:14:42.000000000 +0200
|
|
+++ lib/libxview/base/base.h 2003-12-30 01:31:11.000000000 +0100
|
|
@@ -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>
|
|
+#if (defined(BSD) && (BSD >= 199103))
|
|
+#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
|
|
|