Den 01-12-2010 16:23, Wes Hardaker skrev:
> NB>  Maybe it was just your magic typedefs that were more wacky than
> NB>  magic?
>
> It was a patch from patch DB.  (not my bad)

:-)

Looking further at it, I can see that much of this was older ...

The following patch, which I will commit in a moment, seems to remedy 
the problem on the trunk:

> --- trunk/net-snmp/agent/mibgroup/if-mib/data_access/interface_linux.c  
> (revision 19720)
> +++ trunk/net-snmp/agent/mibgroup/if-mib/data_access/interface_linux.c  
> (working copy)
> @@ -12,8 +12,8 @@
>  #endif
>
>  #ifdef HAVE_LINUX_ETHTOOL_H
> +#include <linux/types.h>
>  #ifndef HAVE_PCI_LOOKUP_NAME
> -#include <linux/types.h>
>  typedef __u64 u64;         /* hack, so we may include kernel's ethtool.h */
>  typedef __u32 u32;         /* ditto */
>  typedef __u16 u16;         /* ditto */

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to