[EMAIL PROTECTED] wrote: > Revision: 16684 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=16684&view=rev > Author: rstory > Date: 2007-09-12 11:51:04 -0700 (Wed, 12 Sep 2007) > > Log Message: > ----------- > Apple patches > - new utility function to read a directory hierarcy into a container > > Modified Paths: > -------------- > trunk/net-snmp/snmplib/Makefile.in > > Added Paths: > ----------- > trunk/net-snmp/include/net-snmp/library/dir_utils.h > trunk/net-snmp/snmplib/dir_utils.c
This commit broke the build on at least AIX 4.x, HP-UX 10.x/11.x and Solaris where struct "dirent" does not have a field "d_type": snmplib/dir_utils.c:104: error: structure has no member named `d_type' snmplib/dir_utils.c:104: error: `DT_DIR' undeclared (first use in this function) snmplib/dir_utils.c:104: error: (Each undeclared identifier is reported only once snmplib/dir_utils.c:104: error: for each function it appears in.) This probably calls for a configure check and #ifdef, at least. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
