yuzu/externals/vcpkg/ports/giflib/msvc-guard-unistd-h.patch

15 lines
326 B
Diff
Executable File

diff --git a/gif_hash.h b/gif_hash.h
index 6a1b585..e6712e8 100644
--- a/gif_hash.h
+++ b/gif_hash.h
@@ -9,7 +9,9 @@ SPDX-License-Identifier: MIT
#ifndef _GIF_HASH_H_
#define _GIF_HASH_H_
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#include <stdint.h>
#define HT_SIZE 8192 /* 12bits = 4096 or twice as big! */