diff options
-rw-r--r-- | parser.l | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -35,6 +35,9 @@ #include <wchar.h> #include <signal.h> #include "config.h" +#if HAVE_UNISTD_H +#include <unistd.h> +#endif #include "lib.h" #include "gc.h" #include "stream.h" @@ -46,6 +49,8 @@ #include "parser.h" #include "txr.h" +#define YY_NO_UNISTD_H + #define YY_INPUT(buf, result, max_size) \ do { \ val self = lit("parser"); \ |