From cfd1054b9b539ee92524901e95d7bb5a1fe670a0 Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Tue, 5 Sep 2023 14:37:50 +0300 Subject: MSVC: Don't #include . --- lib/getopt.in.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/getopt.in.h') diff --git a/lib/getopt.in.h b/lib/getopt.in.h index ea77e3d7..c50dda00 100644 --- a/lib/getopt.in.h +++ b/lib/getopt.in.h @@ -34,7 +34,9 @@ #if defined __GETOPT_PREFIX && !defined __need_getopt # include # include -# include +# ifndef _MSC_VER +# include +# endif # undef __need_getopt # undef getopt # undef getopt_long -- cgit v1.2.3