diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-25 19:20:26 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-25 19:20:26 +0000 |
commit | 2c5424a7b24f0afdb98193a224569ec80832f5c9 (patch) | |
tree | 9f78e7cbe8221265c2765bfd057d689d5f0a9f54 /x2p | |
parent | f7a92b15d369b78479721e50e5aad6f6d7b1862c (diff) | |
download | perl-2c5424a7b24f0afdb98193a224569ec80832f5c9.tar.gz |
[asperl] added AS patch#8
p4raw-id: //depot/asperl@587
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/a2py.c | 3 | ||||
-rw-r--r-- | x2p/util.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/x2p/a2py.c b/x2p/a2py.c index fefa81da7e..a4753ab864 100644 --- a/x2p/a2py.c +++ b/x2p/a2py.c @@ -9,6 +9,9 @@ */ #if defined(OS2) || defined(WIN32) +#if defined(WIN32) +#include <io.h> +#endif #include "../patchlevel.h" #endif #include "util.h" diff --git a/x2p/util.c b/x2p/util.c index 3d3b99a952..e2b8bba862 100644 --- a/x2p/util.c +++ b/x2p/util.c @@ -42,6 +42,7 @@ safemalloc(size_t size) exit(1); } /*NOTREACHED*/ + return 0; } /* paranoid version of realloc */ @@ -66,6 +67,7 @@ saferealloc(void *where, size_t size) exit(1); } /*NOTREACHED*/ + return 0; } /* safe version of free */ |