ports/comms/hf/files/patch-dcf77_audioin.c
Ion-Mihai Tetcu d2cde8c5ee hf is a gtk+-based linux ham radio fsk digimode program, which can do also
the realtime ARQ modes pactor 1, amtor, gtor without a ptc, only with a
soundcard and a pc and linux(FreeBSD), all of which need not be the newest.
The core of hf, the heart of the program (hfkernel) is a real master-piece
of code, it has originally been made by Tom Sailer, many thanks Tom!
hf can also do MT63 and has a CW elbug function.

WWW: http://www.hf.webmasternet.org

- Diane Bruce, VA3DB
db@db.net

PR:		ports/101452
Submitted by:	db
2006-09-09 10:54:46 +00:00

25 lines
473 B
C

--- dcf77/audioin.c.orig Sun Jul 30 12:00:54 2006
+++ dcf77/audioin.c Sun Jul 30 12:05:07 2006
@@ -45,6 +45,9 @@
#include <stropts.h>
#endif
#ifdef HAVE_SYS_CONF_H
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
#include <sys/conf.h>
#endif
@@ -52,7 +55,12 @@
#include <sys/mman.h>
#include <sched.h>
#include <sys/soundcard.h>
+#ifdef __linux__
#include <endian.h>
+#endif
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#endif
#endif
#include "dcf77.h"