aboutsummaryrefslogtreecommitdiffstats
path: root/comms/hf/files/patch-hfkernel_main.c
blob: c73bab9dec00c46eee55f971e4fa61965c60648f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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