The following patch has been verified (see thread started sep 4) to fix 
the problem. It is definitely AIX only :-)


diff --git a/include/net-snmp/library/snmp_transport.h
b/include/net-snmp/library/snmp_transport.h
index 5714a9b..4162897 100644
--- a/include/net-snmp/library/snmp_transport.h
+++ b/include/net-snmp/library/snmp_transport.h
@@ -8,6 +8,10 @@
   #define _XPG4_2
   #endif

+#if defined(aix4) || defined(aix5) || defined(aix6) || defined(aix7)
+#define _LINUX_SOURCE_COMPAT
+#endif
+
   #include <sys/socket.h>

   #ifdef solaris2


/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - [email protected]
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to