http://www.perlmonks.org?node_id=984043


in reply to h2xs problem handling nested include file(s)

First, run h2ph. It'll convert C header files to Perl header files. For eample, convert acl.h:
cd /usr/include h2ph sys/acl.h
Better yet, translate all the headers in one go:
h2ph *.h */*.h
Then run h2xs again.

Replies are listed 'Best First'.
Re^2: h2xs problem handling nested include file(s)
by Bloodnok (Vicar) on Jul 27, 2012 at 15:59 UTC
    TFT, I'll try it, but I read somewhere, during my search, that the use of h2ph is deprecated ... worth a go, nontheless, especially if it works :-)

    A user level that continues to overstate my experience :-))