On native Windows (MSVC/mingw), access is declared in io.h, which is
not included.
* Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78701
* libltdl/ltdl.h: Include io.h on Windows platforms.
* libltdl/ltdl.mk: Update serial.
#include <libltdl/lt_error.h>
#include <libltdl/lt_dlloader.h>
+#if defined _WIN32 && !defined __CYGWIN__
+#include <io.h>
+#endif
+
LT_BEGIN_C_DECLS
-I$(srcdir)/libltdl -Ilibltdl/libltdl \
-I$(srcdir)/libltdl/libltdl
AM_LDFLAGS += -no-undefined
-LTDL_VERSION_INFO = -version-info 10:3:3
+LTDL_VERSION_INFO = -version-info 10:4:3
noinst_LTLIBRARIES += $(LT_DLLOADERS)