summaryrefslogtreecommitdiff
path: root/comms/hf/files/patch-hfkernel_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hf/files/patch-hfkernel_main.c')
-rw-r--r--comms/hf/files/patch-hfkernel_main.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/comms/hf/files/patch-hfkernel_main.c b/comms/hf/files/patch-hfkernel_main.c
new file mode 100644
index 000000000000..c73bab9dec00
--- /dev/null
+++ b/comms/hf/files/patch-hfkernel_main.c
@@ -0,0 +1,23 @@
+--- 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