posix: handle different errno for OSX when setting control lines on open, fixes #133
diff --git a/serial/serialposix.py b/serial/serialposix.py
index 0bf3df5..913b643 100644
--- a/serial/serialposix.py
+++ b/serial/serialposix.py
@@ -266,7 +266,7 @@
             if not self._rtscts:
                 self._update_rts_state()
         except IOError as e:
-            if e.errno == 22:  # ignore Invalid argument
+            if e.errno in (22, 25):  # ignore Invalid argument and Inappropriate ioctl
                 pass
             else:
                 raise