vcpkg/ports/gsasl/fix-windows-compilation.patch

15 lines
346 B
Diff
Raw Normal View History

2024-06-27 00:49:46 +03:00
diff --git a/lib/src/gsasl.h b/lib/src/gsasl.h
index 1b5072c2..999555f6 100644
--- a/lib/src/gsasl.h
+++ b/lib/src/gsasl.h
@@ -33,7 +33,9 @@
# include <stdio.h> /* FILE */
# include <stddef.h> /* size_t */
+#ifndef _WIN32
# include <unistd.h> /* ssize_t */
+#endif
/* Get version symbols. */
# include <gsasl-version.h>