[ovs-git] [openvswitch/ovs] 703cca: lib: Fix netbsd compilation error.

GitHub noreply at github.com
Tue Feb 23 21:17:37 UTC 2016


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 703cca9d0b3dcb987d3e62e951929112a1c2c71f
      https://github.com/openvswitch/ovs/commit/703cca9d0b3dcb987d3e62e951929112a1c2c71f
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2016-02-23 (Tue, 23 Feb 2016)

  Changed paths:
    M lib/netdev-vport.c

  Log Message:
  -----------
  lib: Fix netbsd compilation error.

NetBSD requires <netinet/in.h> to be included before <netinit/ip6.h>.
Without this fix we have:

In file included from lib/netdev-vport.c:25:0:
/usr/include/netinet/ip6.h:82:18: error: field 'ip6_src' has incomplete type
/usr/include/netinet/ip6.h:83:18: error: field 'ip6_dst' has incomplete type

Signed-off-by: Lance Richardson <lrichard at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list