summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-19 15:54:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-19 15:54:04 +0000
commit5916873434de2a57e45ed572c33dafbf7db11798 (patch)
tree8da787182ae843967c47e779685b499b0074d253 /util.c
parent5f9b4baf8833a19431dd8bbccd909cd53c01e255 (diff)
downloadperl-5916873434de2a57e45ed572c33dafbf7db11798.tar.gz
some rearrangement of the includes for easier "microperl" build;
add PERL_MICRO guards supplied by Simon Cozens <simon@brecon.co.uk> p4raw-id: //depot/perl@5143
Diffstat (limited to 'util.c')
-rw-r--r--util.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/util.c b/util.c
index a63dd3ffe8..6359125ef8 100644
--- a/util.c
+++ b/util.c
@@ -40,13 +40,6 @@
# define vfork fork
#endif
-#ifdef I_FCNTL
-# include <fcntl.h>
-#endif
-#ifdef I_SYS_FILE
-# include <sys/file.h>
-#endif
-
#ifdef I_SYS_WAIT
# include <sys/wait.h>
#endif
@@ -116,7 +109,7 @@ Perl_safesysrealloc(Malloc_t where,MEM_SIZE size)
{
dTHX;
Malloc_t ptr;
-#if !defined(STANDARD_C) && !defined(HAS_REALLOC_PROTOTYPE)
+#if !defined(STANDARD_C) && !defined(HAS_REALLOC_PROTOTYPE) && !defined(PERL_MICRO)
Malloc_t PerlMem_realloc();
#endif /* !defined(STANDARD_C) && !defined(HAS_REALLOC_PROTOTYPE) */