Header file dependencies

Russ Allbery rra at stanford.edu
Sun Mar 3 21:27:09 UTC 2002

Jeffrey M Vinocur <jeff at litech.org> writes:

> Whoa.  Ok, I think I actually got this working.  It's slightly hairy as
> to what order things get included because there's some namespace clutter
> from the Perl stuff, but it compiles cleanly now.


> I'd like to put the

> #include <EXTERN.h>
> #include <perl.h>

> inside of innperl.h (which is what I'm calling it, unless there are any
> better ideas),

Sounds fine to me.

> but if I do I get an error about a redefinition of Perl_die() indicating
> the line with die() in libinn.h, oddly enough.  Oh well, somebody can
> look at it later once it's committed.

Will do.  I may be able to get that to work.

Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

More information about the inn-workers mailing list