Subject: Re: "`popen' undeclared" on new pkgsrc ; Was: get "SIGWINCH undefined"
To: None <email@example.com>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
Date: 10/22/2004 07:30:20
Joel CARNAT wrote:
> > > command.C: In member function `FILE* rxvt_term::popen_printer()':
> > > command.C:2748: error: `popen' undeclared (first use this function)
> > > command.C: In member function `int rxvt_term::pclose_printer(FILE*)':
> > > command.C:2760: error: `pclose' undeclared (first use this function)
> > These two are in <stdio.h>.
> this didn't :( I don't know why, but it seems it just doesn't use it.
> --- src/command.C.orig 2004-09-05 11:25:22.000000000 +0200
> +++ src/command.C 2004-10-21 22:35:57.000000000 +0200
> @@ -53,4 +53,7 @@
> #include <wchar.h>
> +#include <signal.h>
> +#include <stdio.h>
> any other clue/idea ?
Does the package define _POSIX_C_SOURCE or _XOPEN_SOURCE?
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-