On Tue, Nov 01, 2005 at 09:48:54PM +0100, Joop PG4I wrote:
> On 11/1/05, Aurelien Jarno <[EMAIL PROTECTED]> wrote:
> >
> > Please find attached a patch to fix that. It would be
> > nice if you could include it in the next upload.
> 
> 
> 
> You forgot to include the patch. Not a big deal, I know what to do from your
> description :-)
> 
Oops, sorry. Please find it attached.

Thanks,
Aurelien

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net
Author: aurel32
Status: in BTS

--- twpsk-2.1+2.2beta1.orig/modes/psk31-transmitter.C
+++ twpsk-2.1+2.2beta1/modes/psk31-transmitter.C
@@ -11,7 +11,12 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
+#if defined(__linux__)
 #include <linux/soundcard.h>
+#endif
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <sys/soundcard.h>
+#endif
 #include <sys/ioctl.h>
 #include "psk31-coder.h"
 #include "psk31-transmitter.h"
only in patch2:
unchanged:
--- twpsk-2.1+2.2beta1.orig/gui/GUI.h
+++ twpsk-2.1+2.2beta1/gui/GUI.h
@@ -36,7 +36,12 @@
 #include <stdlib.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
+#if defined(__linux__)
 #include <linux/soundcard.h>
+#endif
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <sys/soundcard.h>
+#endif
 #include <X11/cursorfont.h>
 #include <Xm/Form.h>
 #include <Xm/CascadeB.h>

Reply via email to