diff options
Diffstat (limited to '')
-rw-r--r-- | bzlib.h | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -22,6 +22,15 @@ | |||
22 | #ifndef _BZLIB_H | 22 | #ifndef _BZLIB_H |
23 | #define _BZLIB_H | 23 | #define _BZLIB_H |
24 | 24 | ||
25 | #ifndef BZ_NO_STDIO | ||
26 | /* Need a definitition for FILE */ | ||
27 | #include <stdio.h> | ||
28 | #endif | ||
29 | |||
30 | #ifdef _WIN32 | ||
31 | #include <windows.h> | ||
32 | #endif | ||
33 | |||
25 | #ifdef __cplusplus | 34 | #ifdef __cplusplus |
26 | extern "C" { | 35 | extern "C" { |
27 | #endif | 36 | #endif |
@@ -70,13 +79,7 @@ typedef | |||
70 | #define BZ_EXPORT | 79 | #define BZ_EXPORT |
71 | #endif | 80 | #endif |
72 | 81 | ||
73 | #ifndef BZ_NO_STDIO | ||
74 | /* Need a definitition for FILE */ | ||
75 | #include <stdio.h> | ||
76 | #endif | ||
77 | |||
78 | #ifdef _WIN32 | 82 | #ifdef _WIN32 |
79 | # include <windows.h> | ||
80 | # ifdef small | 83 | # ifdef small |
81 | /* windows.h define small to char */ | 84 | /* windows.h define small to char */ |
82 | # undef small | 85 | # undef small |