]> git.proxmox.com Git - ovs.git/commit
util: Fix include for htonl().
authorJoe Stringer <joestringer@nicira.com>
Fri, 5 Dec 2014 00:05:33 +0000 (16:05 -0800)
committerJoe Stringer <joestringer@nicira.com>
Fri, 5 Dec 2014 00:36:03 +0000 (16:36 -0800)
commitb2fc6a744775e0214b9a304a348b3131dfcd1e67
treea7cb73b6c78533714d19136577d8b093563b1d82
parent819e3cdec67332b3cfad771f6856924a1f2e7130
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@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/util.h