$NetBSD: patch-aa,v 1.1.1.1 2004/02/05 20:34:17 garbled Exp $
--- include/rm/rmthread.h.orig	Fri Jan 16 21:06:42 2004
+++ include/rm/rmthread.h	Thu Feb  5 01:27:44 2004
@@ -63,7 +63,9 @@
 
 #ifdef RM_X
 #include <pthread.h>
+#ifndef __NetBSD__
 #include <semaphore.h>
+#endif
 #else  /* RM_WIN */
 #include <windows.h>
 #include <process.h>
