View | Details | Raw Unified | Return to bug 264152
Collapse All | Expand All

(-)patch-libs_indicom.c (-17 lines)
Lines 10-29 Link Here
10
 #include <libnova/julian_day.h>
10
 #include <libnova/julian_day.h>
11
@@ -61,7 +62,9 @@
11
@@ -61,7 +62,9 @@
12
 #endif
12
 #endif
13
 
14
 #if defined(BSD) && !defined(__GNU__)
15
+#if defined __APPLE__
16
 #include <IOKit/serial/ioss.h>
17
+#endif
18
 #include <sys/ioctl.h>
19
 #endif
20
 
21
@@ -763,7 +766,7 @@ int tty_connect(const char *device, int bit_rate, int 
22
     case 57600:  bps = B57600;  break;
23
     case 115200: bps = B115200; break;
24
     case 230400: bps = B230400; break;
25
-#ifndef __APPLE__
26
+#if !defined __APPLE__ && !defined(__FreeBSD__)
27
     case 460800: bps = B460800; break;
28
     case 576000: bps = B576000; break;
29
     case 921600: bps = B921600; break;

Return to bug 264152