0002-add-missing-header-include.patch 447 B

123456789101112131415
  1. Add a missing header include, to fix a build error.
  2. Signed-off-by: Simon Dawson <spdawson@gmail.com>
  3. diff -Nurp a/src/SerialPort.cpp b/src/SerialPort.cpp
  4. --- a/src/SerialPort.cpp 2008-11-12 01:27:30.000000000 +0000
  5. +++ b/src/SerialPort.cpp 2013-04-23 15:43:41.537495852 +0100
  6. @@ -27,6 +27,7 @@
  7. #include <cassert>
  8. #include <termios.h>
  9. #include <fcntl.h>
  10. +#include <unistd.h>
  11. #include <sys/ioctl.h>
  12. #include <sys/time.h>
  13. #include <signal.h>