Clean pull from upstrea package feed (non-working) w/o libs
[librecmc/package-feed.git] / net / ola / patches / 001-include-endian_h.patch
1 diff --git a/common/network/NetworkUtils.cpp b/common/network/NetworkUtils.cpp
2 index 3914818..094a311 100644
3 --- a/common/network/NetworkUtils.cpp
4 +++ b/common/network/NetworkUtils.cpp
5 @@ -39,6 +39,10 @@ typedef uint32_t in_addr_t;
6  #include <resolv.h>
7  #endif
8  
9 +#ifdef HAVE_ENDIAN_H
10 +#include <endian.h>
11 +#endif
12 +
13  #if defined(HAVE_LINUX_NETLINK_H) && defined(HAVE_LINUX_RTNETLINK_H)
14  #define USE_NETLINK_FOR_DEFAULT_ROUTE 1
15  #include <linux/netlink.h>