aboutsummaryrefslogtreecommitdiff
path: root/misc/dahdi/files/patch-tools-dahdi_monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dahdi/files/patch-tools-dahdi_monitor.c')
-rw-r--r--misc/dahdi/files/patch-tools-dahdi_monitor.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/dahdi/files/patch-tools-dahdi_monitor.c b/misc/dahdi/files/patch-tools-dahdi_monitor.c
new file mode 100644
index 000000000000..b175aaf1199f
--- /dev/null
+++ b/misc/dahdi/files/patch-tools-dahdi_monitor.c
@@ -0,0 +1,14 @@
+--- tools/dahdi_monitor.c.orig 2009-04-21 20:44:58.000000000 +0700
++++ tools/dahdi_monitor.c 2010-03-03 17:24:25.000000000 +0600
+@@ -40,7 +40,11 @@
+ #include <dahdi/user.h>
+ #include "dahdi_tools_version.h"
+
++#if defined(__FreeBSD__)
++#include <sys/soundcard.h>
++#else
+ #include <linux/soundcard.h>
++#endif
+
+ /*
+ * defines for file handle numbers