2013-09-26 17:14:40 +02:00

23 lines
804 B
Plaintext

$NetBSD: patch-av,v 1.2 2008/08/31 06:36:48 scottr Exp $
--- lib/include/util.h.orig 2008-08-08 02:01:52.000000000 -0500
+++ lib/include/util.h
@@ -55,7 +55,7 @@
/*
* Define the Util_ThreadID type.
*/
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
#include <pthread.h>
typedef pthread_t Util_ThreadID;
#elif defined(_WIN32)
@@ -119,7 +119,7 @@ EXTERN char *Util_GetSafeTmpDir(Bool use
EXTERN int Util_MakeSafeTemp(ConstUnicode tag,
Unicode *presult);
-#if defined(__linux__) || defined(__FreeBSD__) || defined(sun)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
EXTERN Bool Util_GetProcessName(pid_t pid, char *bufOut, size_t bufOutSize);
#endif