From: Ulrich Drepper Date: Fri, 17 Aug 2001 07:57:23 +0000 (+0000) Subject: Include . X-Git-Tag: cvs/glibc-2-2-5~439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dcc6a3f1b3648fffbcc7039f1dc3abab7eb7433;p=thirdparty%2Fglibc.git Include . --- diff --git a/gmon/gmon.c b/gmon/gmon.c index c8923ab9da4..b54b9aa18b6 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -43,6 +43,10 @@ #include #include +#ifdef USE_IN_LIBIO +# include +#endif + struct __bb *__bb_head; /* Head of basic-block list or NULL. */ struct gmonparam _gmonparam = { GMON_PROF_OFF }; @@ -53,7 +57,7 @@ struct gmonparam _gmonparam = { GMON_PROF_OFF }; static int s_scale; #define SCALE_1_TO_1 0x10000L -#define ERR(s) __write(2, s, sizeof(s) - 1) +#define ERR(s) __write (STDERR_FILENO, s, sizeof (s) - 1) void moncontrol __P ((int mode)); void __moncontrol __P ((int mode));