diff --git a/src/serialport_unix.cpp b/src/serialport_unix.cpp index 5fb54d8..2c27051 100644 --- a/src/serialport_unix.cpp +++ b/src/serialport_unix.cpp @@ -1,4 +1,3 @@ - #ifndef WIN32 #include "serialport.h" #include @@ -46,7 +45,7 @@ int ToBaudConstant(int baudRate) { case 57600: return B57600; case 115200: return B115200; case 230400: return B230400; -#ifndef __APPLE__ +#if !defined(__APPLE__) && !defined(__OpenBSD__) case 460800: return B460800; case 500000: return B500000; case 576000: return B576000;