ports/comms/hf/files/patch-hfkernel_main.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

23 lines
504 B
C

--- hfkernel/main.c.orig Sun Jul 30 11:51:24 2006
+++ hfkernel/main.c Sun Jul 30 11:53:03 2006
@@ -42,13 +42,20 @@
#include <signal.h>
#include <syslog.h>
#include <sys/types.h>
+#ifdef __linux__
#include <asm/byteorder.h>
+#endif
#include <sys/soundcard.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/time.h>
+#ifdef __linux__
#include <endian.h>
+#endif
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#endif
#include <assert.h>
#ifdef DISABLE_REALTIME