blob: 1cfdf2e77eb8f905a0fa7ec39ef6bc7700289395 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ac,v 1.4 2006/01/04 15:20:45 joerg Exp $
--- lib/Xm/Xmos.c.orig 2005-11-25 05:50:57.000000000 +0100
+++ lib/Xm/Xmos.c
@@ -91,6 +91,10 @@ extern int regex();
#include <sys/stat.h>
+#if defined(__NetBSD__) && __NetBSD_Version >= 299001000 && !defined(_POSIX_THREAD_SAFE_FUNCTIONS) /* NetBSD 2.99.10 */
+#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
+#endif
+
#define X_INCLUDE_PWD_H
#define X_INCLUDE_DIRENT_H
#define XOS_USE_XT_LOCKING
|