From 960c962798bddf9246cafd1a29db6f0ed32dce3f Mon Sep 17 00:00:00 2001 From: okuoku Date: Wed, 13 Dec 2017 17:17:18 +0900 Subject: [PATCH] Win32: Include on sexp.c Use POSIX-like functions(open, read and write) from its compatibility library. --- sexp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sexp.c b/sexp.c index e6fdc3d7..1503e5b2 100644 --- a/sexp.c +++ b/sexp.c @@ -15,6 +15,10 @@ struct sexp_huff_entry { #include "chibi/sexp-huff.h" #endif +#ifdef _WIN32 +#include +#endif + static int sexp_initialized_p = 0; static const char sexp_separators[] = {