a0226372b93b86ca5405ee17a3690f3156d30907
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libserial / 0002-add-missing-header-include.patch
1 Add a missing header include, to fix a build error.
2
3 Signed-off-by: Simon Dawson <spdawson@gmail.com>
4
5 diff -Nurp a/src/SerialPort.cpp b/src/SerialPort.cpp
6 --- a/src/SerialPort.cpp        2008-11-12 01:27:30.000000000 +0000
7 +++ b/src/SerialPort.cpp        2013-04-23 15:43:41.537495852 +0100
8 @@ -27,6 +27,7 @@
9  #include <cassert>
10  #include <termios.h>
11  #include <fcntl.h>
12 +#include <unistd.h>
13  #include <sys/ioctl.h>
14  #include <sys/time.h>
15  #include <signal.h>