diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-06-18 15:32:00 +0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-06-18 15:38:10 +0400 |
commit | 7835aae990e37f2e1a6309844d748b30be733592 (patch) | |
tree | 671f0c9f7842bb388faae0b7b88be188433dd975 /recipes | |
parent | 8812174c3e3e00ac40cca82ebf9ae0a04e22e15a (diff) |
libnl: fix compilation with new toolchain
netlink-local.h demands limits.h to define several constants. Include it.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/libnl/files/netlink-local-fix.patch | 12 | ||||
-rw-r--r-- | recipes/libnl/libnl_1.1.bb | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/recipes/libnl/files/netlink-local-fix.patch b/recipes/libnl/files/netlink-local-fix.patch new file mode 100644 index 0000000000..51c6736025 --- /dev/null +++ b/recipes/libnl/files/netlink-local-fix.patch @@ -0,0 +1,12 @@ +Index: libnl-1.1/include/netlink-local.h +=================================================================== +--- libnl-1.1.orig/include/netlink-local.h 2009-06-18 15:28:32.614209645 +0400 ++++ libnl-1.1/include/netlink-local.h 2009-06-18 15:28:44.094190518 +0400 +@@ -26,6 +26,7 @@ + #include <sys/socket.h> + #include <inttypes.h> + #include <assert.h> ++#include <limits.h> + + #include <arpa/inet.h> + #include <netdb.h> diff --git a/recipes/libnl/libnl_1.1.bb b/recipes/libnl/libnl_1.1.bb index 5f2d6f1a07..3895ec5558 100644 --- a/recipes/libnl/libnl_1.1.bb +++ b/recipes/libnl/libnl_1.1.bb @@ -13,6 +13,7 @@ SRC_URI = "\ file://local-includes.patch;patch=1 \ file://fix-includes.patch;patch=1 \ file://respect-ldflags.patch;patch=1 \ + file://netlink-local-fix.patch;patch=1 \ " do_stage () { |