Thank you, It bothered me when I noticed that the include had been changed to the libnl one, I know all the netlink access here was done directly with the socket API.
ACK - Chris On Wed, Oct 24, 2012 at 1:49 PM, Mark Rustad <mark.d.rus...@intel.com> wrote: > fcoe-utils really did not need to be dependent on libnl. It was > only including netlink/netlink.h, not actually using the library, > and the only real need for netlink/netlink.h was to get the > including files stdint.h, linux/netlink.h and linux/rtnetlink.h. > So, just include those directly and forget about libnl. > > Signed-off-by: Mark Rustad <mark.d.rus...@intel.com> > Tested-by: Ross Brattain <ross.b.bratt...@intel.com> > --- > > fcoemon.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/fcoemon.c b/fcoemon.c > index 9217552..daf9fab 100644 > --- a/fcoemon.c > +++ b/fcoemon.c > @@ -24,6 +24,7 @@ > #include <stddef.h> > #include <stdio.h> > #include <stdlib.h> > +#include <stdint.h> > #include <time.h> > #include <libgen.h> > #include <ulimit.h> > @@ -40,7 +41,8 @@ > #include <linux/sockios.h> > #include <linux/if.h> > #include <linux/if_arp.h> > -#include <netlink/netlink.h> > +#include <linux/netlink.h> > +#include <linux/rtnetlink.h> > #include <linux/ethtool.h> > #include <linux/if_vlan.h> > #include <linux/dcbnl.h> > > _______________________________________________ > devel mailing list > devel@open-fcoe.org > https://lists.open-fcoe.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@open-fcoe.org https://lists.open-fcoe.org/mailman/listinfo/devel