blob: ad7efdf050143fc76faee35085304e0443b68e47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.1 2005/12/12 00:26:36 joerg Exp $
--- src/tX_dialog.cc.orig 2005-12-12 00:13:12.000000000 +0000
+++ src/tX_dialog.cc
@@ -252,7 +252,11 @@ GList *get_alsa_device_list() {
#ifdef USE_OSS
static GList *oss_devices=NULL;
+#if defined(__DragonFly__) || defined(__FreeBSD__)
+int oss_select_dsp_only(struct dirent *entry){
+#else
int oss_select_dsp_only(const struct dirent *entry){
+#endif
return (strstr(entry->d_name, "dsp")!=0);
}
|