summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-aw
blob: 7d390057865b3acf7b5af3bdab14f8c126f85675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aw,v 1.6 2005/01/03 22:51:47 agc Exp $

Patch from Rui-Xiang Guo for building on NetBSD-current

--- ../sal/osl/unx/system.h.orig	2004-11-19 09:23:53.000000000 +0800
+++ ../sal/osl/unx/system.h	2004-11-19 09:27:55.000000000 +0800
@@ -169,7 +169,10 @@
 #endif
 
 #ifdef NETBSD
+#	include <sys/param.h>
+#  ifndef ETIME
 #	define  ETIME ETIMEDOUT
+#  endif
 #	define _POSIX_THREAD_SYSCALL_SOFT 1
 #	include <pthread.h>
 #	include <netdb.h>