diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 06:04:29 +0100 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 06:04:29 +0100 | 
| commit | f58470a0e841d917c1d33ce5393d7882bd92d7f3 (patch) | |
| tree | 15a7466a5597b581f618e68cec882c783f325405 | |
| parent | 5e0ca52b4cc7136c11d0e9a8b97b12adb51061f8 (diff) | |
Add nasty workaround to avoid compiler warning
| -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> | 
