libnl: Fix compile header problems

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-09-04 10:37:13 +01:00
parent 0e842cf1b5
commit 16d7767104
3 changed files with 16 additions and 4 deletions

View File

@ -0,0 +1,12 @@
Index: libnl-1.1/include/netlink-local.h
===================================================================
--- libnl-1.1.orig/include/netlink-local.h 2009-09-04 10:10:09.000000000 +0100
+++ libnl-1.1/include/netlink-local.h 2009-09-04 10:10:15.000000000 +0100
@@ -26,6 +26,7 @@
#include <sys/socket.h>
#include <inttypes.h>
#include <assert.h>
+#include <limits.h>
#include <arpa/inet.h>
#include <netdb.h>

View File

@ -3,11 +3,11 @@ SECTION = "libs/network"
LICENSE = "LGPL"
HOMEPAGE = "http://people.suug.ch/~tgr/libnl/"
PRIORITY = "optional"
PV = "1.1"
inherit autotools_stage pkgconfig
SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-1.1.tar.gz \
file://local-includes.patch;patch=1"
PR = "r1"
S = "${WORKDIR}/${PN}-1.1"
SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-${PV}.tar.gz \
file://local-includes.patch;patch=1 \
file://compilefix.patch;patch=1"