22 lines
506 B
Plaintext
Raw Normal View History

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