Merge pull request #1576 from bk138/ola-0.9.7

ola: Update to 0.9.7.
This commit is contained in:
Steven Barth 2015-07-16 16:56:01 +02:00
commit 72d74bc377
2 changed files with 17 additions and 2 deletions

View file

@ -9,13 +9,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ola PKG_NAME:=ola
PKG_VERSION:=0.9.6 PKG_VERSION:=0.9.7
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=e9ece0540fb40beb1be33417cb7e0abf45af74e0 PKG_SOURCE_VERSION:=2a306e4f0221fea9f4833ba04b042e72c6f10cd3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_LICENSE:=LGPL-2.1+ PKG_LICENSE:=LGPL-2.1+

View file

@ -0,0 +1,15 @@
diff --git a/common/network/NetworkUtils.cpp b/common/network/NetworkUtils.cpp
index 3914818..094a311 100644
--- a/common/network/NetworkUtils.cpp
+++ b/common/network/NetworkUtils.cpp
@@ -39,6 +39,10 @@ typedef uint32_t in_addr_t;
#include <resolv.h>
#endif
+#ifdef HAVE_ENDIAN_H
+#include <endian.h>
+#endif
+
#if defined(HAVE_LINUX_NETLINK_H) && defined(HAVE_LINUX_RTNETLINK_H)
#define USE_NETLINK_FOR_DEFAULT_ROUTE 1
#include <linux/netlink.h>