diff options
Diffstat (limited to 'malloc/mtrace.c')
-rw-r--r-- | malloc/mtrace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c index 64fb62a..40b3d74 100644 --- a/malloc/mtrace.c +++ b/malloc/mtrace.c @@ -40,6 +40,10 @@ extern char *getenv (); #include <stdlib.h> #endif +#if defined _LIBC && defined USE_IN_LIBIO +# define setvbuf(s, b, f, l) _IO_setvbuf (s, b, f, l) +#endif + #define TRACE_BUFFER_SIZE 512 static FILE *mallstream; |