--- a/src/SerialImp.c +++ b/src/SerialImp.c @@ -146,6 +146,7 @@ #ifdef LIBLOCKDEV #include #endif /* LIBLOCKDEV */ +#include extern int errno;