On Wednesday 30 July 2008, Jeff Johnson wrote:
> On Jul 30, 2008, at 6:21 AM, Arkadiusz Miskiewicz wrote:
> > On Wednesday 30 July 2008, Jeff Johnson wrote:
> >> On Jul 30, 2008, at 5:50 AM, Ralf S. Engelschall wrote:
> >>> On Wed, Jul 30, 2008, Jeff Johnson wrote:
> >>>> This "band-aid" prevents installing argv.h in /usr/include/rpm w/o
> >>>> messy
> >>>> AutoFu.
> >>>
> >>> Really? If no Autoconf #defines are present, _nothing_ happens. The
> >>> stuff degrades gracefully to just no #include at all. So, this
> >>> should
> >>> not cause any problems.
> >>
> >> And the degradation was the problem that arekm set out to solve.
> >
> > The problem is that public rpm headers are not self contained. They
> > use stuff like
> > different types but don't include required headers. Example:
>
> And rpm has never __EVER__ promised that each and every include file is
> self contained.
Uhm, ok.
> Nor is there any need for the files to be self contained.
>
> Yes I know what you want ...
> Try
> #include <rpmcli.h>
http://pld.pastebin.com/f6a8d5a98
> 73 de
--
Arkadiusz MiĆkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
Received on Wed Jul 30 12:36:55 2008