From f58470a0e841d917c1d33ce5393d7882bd92d7f3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 23 Dec 2008 06:04:29 +0100 Subject: Add nasty workaround to avoid compiler warning --- rfcomm/lexer.l | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rfcomm') 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 #endif +/* Nasty workaround, but flex defines isatty() twice */ +#define _UNISTD_H + #include #include #include -- cgit