diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-22 21:38:25 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-22 21:38:25 +0000 |
commit | 3f270f98f93055407790f4fc65bd60980f2723b2 (patch) | |
tree | 0a98c9011d0fe8f97d32cd6644069fd7cd145ed2 /malloc.c | |
parent | e1901655935137420b3a46ad23c873753fcbbbc7 (diff) | |
download | perl-3f270f98f93055407790f4fc65bd60980f2723b2.tar.gz |
Go ahead and #include <unistd.h> in perl.h.
p4raw-id: //depot/perl@7816
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -886,18 +886,12 @@ static union overhead *nextf[NBUCKETS]; #endif #ifdef USE_PERL_SBRK -#define sbrk(a) Perl_sbrk(a) +# define sbrk(a) Perl_sbrk(a) Malloc_t Perl_sbrk (int size); -#else -#ifdef DONT_DECLARE_STD -#ifdef I_UNISTD -#include <unistd.h> -#endif #else -#ifndef HAS_SBRK_PROTO +# ifndef HAS_SBRK_PROTO /* <unistd.h> usually takes care of this */ extern Malloc_t sbrk(int); -#endif -#endif +# endif #endif #ifdef DEBUGGING_MSTATS |