diff options
Diffstat (limited to 'rfcomm/lexer.l')
-rw-r--r-- | rfcomm/lexer.l | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rfcomm/lexer.l b/rfcomm/lexer.l index 234f5215..e15c8abe 100644 --- a/rfcomm/lexer.l +++ b/rfcomm/lexer.l @@ -26,6 +26,9 @@ #include <config.h> #endif +/* Nasty workaround, but flex defines isatty() twice */ +#define _UNISTD_H + #include <stdio.h> #include <errno.h> #include <sys/socket.h> |