diff options
Diffstat (limited to 'ext/ByteLoader/ByteLoader.xs')
-rw-r--r-- | ext/ByteLoader/ByteLoader.xs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ByteLoader/ByteLoader.xs b/ext/ByteLoader/ByteLoader.xs index a3d53f69cc..c9d7d16d06 100644 --- a/ext/ByteLoader/ByteLoader.xs +++ b/ext/ByteLoader/ByteLoader.xs @@ -4,6 +4,13 @@ #include "XSUB.h" #include "byterun.h" +#ifdef NEED_FGETC_PROTOTYPE +extern int fgetc(); +#endif +#ifdef NEED_FREAD_PROTOTYPE +extern int fread(); +#endif + static void freadpv(U32 len, void *data, XPV *pv) { |