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
commit9a34ef1dede5fef4f3211de7a12cc37f4645a3bd (patch)
tree8da787182ae843967c47e779685b499b0074d253 /util.c
parent67398a75376ae8069b240ba2953215647f70366c (diff)
downloadperl-9a34ef1dede5fef4f3211de7a12cc37f4645a3bd.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) */