blob: b8bbcc4a646d51572feb18e917645d5abc92d83d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ac,v 1.5 2006/01/04 15:53:15 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
|