netsnmp getopt.h clashes with systemprovided getopt.h
"Ganesh HS" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi , I am including "unistd.h" in my code which inturn includes getopt.h. getopt.h is available in two locations /usr/include/ /usr/local/include/netsnmp/library/ (when netsnmp is installed on the system) To include the net-snmp header files "/usr/local/include/netsnmp/library/" is also specifed in the include path. as a result compiler picks up getopt.h from "/usr/local/include/netsnmp/library/" instead of "/usr/include/" while including unistd.h How do I go about including getopt.h from /usr/include/ while using system provided header files like unistd.h Thanks and Regards -Ganesh ------------------------------------------------------------------------- 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-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users