summaryrefslogtreecommitdiff
path: root/emulators/snes9x/patches/patch-ad
blob: 13af1ec02d3ba449d3df2b5e48c680fd27691ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ad,v 1.3 2006/03/18 15:56:00 ben Exp $

--- netplay.cpp.orig	2004-12-30 14:15:45.000000000 -0800
+++ netplay.cpp
@@ -126,9 +126,13 @@
 
 #ifdef USE_THREADS
 #include <pthread.h>
+#ifdef __NetBSD__
+#include <sys/sched.h>
+#else
 #include <sched.h>
 #include <semaphore.h>
 #endif
+#endif
 
 #include "snes9x.h"
 #include "cpuexec.h"