15 lines
404 B
Text
15 lines
404 B
Text
$NetBSD: patch-ac,v 1.3 2005/12/12 19:55:41 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__) && !defined(_POSIX_THREAD_SAFE_FUNCTIONS)
|
|
+#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
|
|
+#endif
|
|
+
|
|
#define X_INCLUDE_PWD_H
|
|
#define X_INCLUDE_DIRENT_H
|
|
#define XOS_USE_XT_LOCKING
|