2009-04-25 22:07:37 +00:00
|
|
|
$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
|
2007-10-12 20:12:18 +00:00
|
|
|
@@ -93,7 +93,7 @@ typedef unsigned int flex_uint32_t;
|
2005-12-18 20:44:43 +00:00
|
|
|
|
|
|
|
#else /* ! __cplusplus */
|
|
|
|
|
|
|
|
-#if __STDC__
|
|
|
|
+#ifdef __STDC__
|
|
|
|
|
|
|
|
#define YY_USE_CONST
|
|
|
|
|
2009-04-25 22:07:37 +00:00
|
|
|
@@ -4854,7 +4854,7 @@ static void yy_load_buffer_state (void)
|
2007-10-12 20:12:18 +00:00
|
|
|
}
|
2005-12-18 20:44:43 +00:00
|
|
|
|
|
|
|
#ifndef __cplusplus
|
2007-10-12 20:12:18 +00:00
|
|
|
-extern int isatty (int );
|
2005-12-18 20:44:43 +00:00
|
|
|
+#include <unistd.h>
|
2007-10-12 20:12:18 +00:00
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
/* Initializes or reinitializes a buffer.
|