On Thu, 23 Nov 2006 11:24:34 +0100 Thijs wrote: TB> Problem description: we need to include an extra header in snmp_api.h TB> (sys/poll.h), [...] TB> TB> Is there a smart way to add these includes for the poll.h in all the TB> files that call snmp_api.h? (except for writing a script myself) I don't TB> know my way around automake too well... Would you prefer to see a patch TB> where all files including snmp_api.h are modified or would you prefer to TB> see poll.h included in snmp_api.h itself?
You should modify files including snmp_api.h to include poll.h. The ifdefs are also manually generated, and configure runs tests to determine what headers are included. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
