Skip to content

Commit

Permalink
Added in termios.h include into SerialPort.hpp to try and fix speed_t…
Browse files Browse the repository at this point in the history
… undefined issue.
  • Loading branch information
gbmhunter committed Nov 15, 2024
1 parent f8957a5 commit 9a4b282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/CppLinuxSerial/SerialPort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/// \file SerialPort.hpp
/// \author Geoffrey Hunter <[email protected]> (www.mbedded.ninja)
/// \created 2014-01-07
/// \last-modified 2023-02-13
/// \last-modified 2024-11-16
/// \brief The main serial port class.
/// \details
/// See README.rst in repo root dir for more info.
Expand All @@ -15,7 +15,7 @@
#include <string>
#include <fstream> // For file I/O (reading/writing to COM port)
#include <sstream>
// #include <termios.h> // POSIX terminal control definitions (struct termios)
#include <termios.h> // Required for speed_t
// #include <asm/termios.h> // Terminal control definitions (struct termios)
#include <vector>
#include <asm/ioctls.h>
Expand Down

0 comments on commit 9a4b282

Please sign in to comment.