osx: Fix OS X build issues
authorLance Richardson <lrichard@redhat.com>
Wed, 23 Mar 2016 20:04:46 +0000 (16:04 -0400)
committerBen Pfaff <blp@ovn.org>
Wed, 23 Mar 2016 20:17:58 +0000 (13:17 -0700)
commit837351e6f99098d63628bd06afe908b6d4af755d
tree85e7fc9548f435578e5d459e4e54451870606fe1
parenta7ea18d857bee5182a4062f29b784952f8f80e5b
osx: Fix OS X build issues

Newer versions of OS X define ntohll() and htonll() macros,
while older versions (including the version used for travis-ci
builds) do not.  Adjust conditional compilation test to work
for both cases.

Eliminate an unused variable warning in lib/rtbsd.c.

Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/byte-order.h
lib/rtbsd.c