Commit 5c258dfe authored by Michael Beck's avatar Michael Beck
Browse files

Fixed windows build: unistd.h is not a portable header ...

[r28140]
parent d02e1f6b
......@@ -530,7 +530,13 @@ char *_lc_opt_text;
#endif
#include <stdio.h>
#include <unistd.h> /* flex generated code wants a declaration of isatty... */
/* flex generated code wants a declaration of isatty... */
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
#include "lc_parser_t.h"
#include "lc_config_parser.h"
......
......@@ -26,7 +26,11 @@
#endif
#include <stdio.h>
#include <unistd.h> /* flex generated code wants a declaration of isatty... */
/* flex generated code wants a declaration of isatty... */
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#include "lc_parser_t.h"
#include "lc_config_parser.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment