summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/bibtex-x/utils.c')
-rw-r--r--Build/source/texk/bibtex-x/utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/bibtex-x/utils.c b/Build/source/texk/bibtex-x/utils.c
index 0dd077d8b81..fec5faba96c 100644
--- a/Build/source/texk/bibtex-x/utils.c
+++ b/Build/source/texk/bibtex-x/utils.c
@@ -121,7 +121,9 @@
#include <stdarg.h>
#ifdef WIN32
+#if !defined(_MSC_VER)
#include <getopt.h>
+#endif
#else
#include <unistd.h>
#endif
@@ -133,7 +135,7 @@
#include <kpathsea/paths.h>
#include <kpathsea/variable.h>
#include <kpathsea/lib.h>
-#ifndef WIN32
+#if !defined(WIN32) || defined(_MSC_VER)
#include <kpathsea/getopt.h>
#endif
#endif