summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/utils.c
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-07-09 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2023-07-09 03:01:12 +0000
commitfb9a8ffb415de6aca48954ade22852bc93eb7f89 (patch)
tree6d86c3d72967d96a5f31c34d0caab679fbc6f696 /biblio/bibtex/bibtex-x/utils.c
parenteeed32591ed8e985fd458c43d976027ad679d682 (diff)
CTAN sync 202307090301
Diffstat (limited to 'biblio/bibtex/bibtex-x/utils.c')
-rw-r--r--biblio/bibtex/bibtex-x/utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/biblio/bibtex/bibtex-x/utils.c b/biblio/bibtex/bibtex-x/utils.c
index 0dd077d8b8..fec5faba96 100644
--- a/biblio/bibtex/bibtex-x/utils.c
+++ b/biblio/bibtex/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