$OpenBSD: patch-src_cflex_c,v 1.4 2009/04/25 22:07:37 okan Exp $
--- src/cflex.c.orig	Wed Dec 24 09:43:31 2008
+++ src/cflex.c	Sat Apr 11 16:32:57 2009
@@ -93,7 +93,7 @@ typedef unsigned int flex_uint32_t;
 
 #else	/* ! __cplusplus */
 
-#if __STDC__
+#ifdef __STDC__
 
 #define YY_USE_CONST
 
@@ -4854,7 +4854,7 @@ static void yy_load_buffer_state  (void)
 }
 
 #ifndef __cplusplus
-extern int isatty (int );
+#include <unistd.h>
 #endif /* __cplusplus */
     
 /* Initializes or reinitializes a buffer.
