mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 20:39:18 -04:00
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
23 lines
504 B
C
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
|