blob: 0c97b7cfed825375f877487d6570f3f1bc96019a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-am,v 1.1 2009/03/11 09:20:02 hasso Exp $
--- ./csound/widgets.cpp.orig 2009-03-11 10:47:28 +0200
+++ ./csound/widgets.cpp 2009-03-11 10:48:16 +0200
@@ -31,11 +31,11 @@
#if defined(WIN32)
# include <process.h>
#endif /* defined(WIN32) */
-#if defined(LINUX) || defined(NETBSD)
+#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
# include <pthread.h>
# include <sched.h>
# include <sys/time.h>
-#endif /* defined(LINUX) || defined(NETBSD) */
+#endif /* defined(LINUX) || defined(NETBSD) || defined(__DragonFly__) */
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
@@ -84,7 +84,7 @@ extern "C" {
#define __cplusplus
// extern EVTBLK *currevent; IV - Aug 23 2002
extern char *unquote(char *name);
-#if defined(LINUX) || defined(NETBSD)
+#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
extern int cleanup();
extern long srngcnt[], orngcnt[]; // from musmon.c
#endif
|