Hello all, We are working here on an extension of the snmp_api to deal with large filehandles. Some small modifications of the methods snmp_read and snmp_select_info are involved (allow for usage of the poll() interface, fd_set only allows for a limited fd size: will send in a patch proposal as soon as I'm done testing).
Problem description: we need to include an extra header in snmp_api.h (sys/poll.h), but I've noticed that there are no includes in the snmp_api.h header itself. The includes of system headers (like sys/select.h) are called from the *.c files that need to include snmp_api.h. It looks like these includes in the .c files are automatically generated: #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> #endif Is there a smart way to add these includes for the poll.h in all the files that call snmp_api.h? (except for writing a script myself) I don't know my way around automake too well... Would you prefer to see a patch where all files including snmp_api.h are modified or would you prefer to see poll.h included in snmp_api.h itself? Best regards, Thijs ------------------------------------------------------------------------- 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
