unistd.h.patch 326 B

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