[ovs-git] [openvswitch/ovs] b2fc6a: util: Fix include for htonl().

GitHub noreply at github.com
Fri Dec 5 00:39:04 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b2fc6a744775e0214b9a304a348b3131dfcd1e67
      https://github.com/openvswitch/ovs/commit/b2fc6a744775e0214b9a304a348b3131dfcd1e67
  Author: Joe Stringer <joestringer at nicira.com>
  Date:   2014-12-04 (Thu, 04 Dec 2014)

  Changed paths:
    M lib/util.h

  Log Message:
  -----------
  util: Fix include for htonl().

Commit 526a7c85d11dc "util: Add be32_prefix_mask()." added an include for
byte-order.h into util.h, which could cause link failures if users of
libopenvswitch defined their own version of htonll(). Change the
include, as only htonl() is needed and arpa/inet.h provides this.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>




More information about the git mailing list