Commit d2faab30 authored by Chun-wei Fan's avatar Chun-wei Fan

giscanner/scannerlexer.l: Include io.h on Windows

This is to compensate the for the lack of unistd.h on Visual Studio
builds, and to avoid the compiler warning about the implicit declaration
of access() as a result.  This is to also prepare for the next commit
when we force-include msvc_recommended_pragmas.h from GLib on Visual
Studio builds.
parent c2d8dab8
......@@ -34,6 +34,8 @@
#include <string.h>
#ifndef _WIN32
#include <limits.h>
#else
#include <io.h>
#endif
#include <glib.h>
......
Markdown is supported
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