summaryrefslogtreecommitdiff
path: root/comms/librs232/files/patch-rs232.h
diff options
context:
space:
mode:
Diffstat (limited to 'comms/librs232/files/patch-rs232.h')
-rw-r--r--comms/librs232/files/patch-rs232.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/librs232/files/patch-rs232.h b/comms/librs232/files/patch-rs232.h
new file mode 100644
index 000000000000..81c40ed93dc3
--- /dev/null
+++ b/comms/librs232/files/patch-rs232.h
@@ -0,0 +1,12 @@
+--- rs232.h.orig 2014-12-04 14:17:08.000000000 +0800
++++ rs232.h 2014-12-04 14:17:22.000000000 +0800
+@@ -45,8 +45,7 @@
+ #include <string.h>
+
+
+-
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+
+ #include <termios.h>
+ #include <sys/ioctl.h>