$NetBSD: patch-ai,v 1.2 2006/05/29 19:44:24 joerg Exp $ --- InOut/widgets.cpp.orig 2006-02-15 10:25:55.000000000 -0800 +++ InOut/widgets.cpp @@ -29,7 +29,7 @@ # include #endif /* defined(WIN32) */ -#if defined(LINUX) +#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__) # include # include # include @@ -1722,7 +1722,7 @@ static uintptr_t fltkRun(void *userdata) p = (widgetsGlobals_t*) csound->QueryGlobalVariable(csound, "_widgets_globals"); -#ifdef LINUX +#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__) { struct sched_param sp; // IV - Aug 27 2002: widget thread is always run with normal priority