summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Graf <tgr@lsx.localdomain>2008-06-17 02:57:33 +0200
committerThomas Graf <tgr@lsx.localdomain>2008-06-17 02:57:33 +0200
commitff05f2ffc3caea6c59b6c940aa80e1314783a070 (patch)
tree87b33cdda0f496cc4fb3d5ed917f78a94bea7982 /src
parentab578b9ca00b19ad6b66283ec08d004f9fc391d6 (diff)
downloadandroid_external_libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.tar.gz
android_external_libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.tar.bz2
android_external_libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.zip
Fix compile errors when linking against libnl-genl
Diffstat (limited to 'src')
-rw-r--r--src/nl-list-caches.c1
-rw-r--r--src/utils.c1
-rw-r--r--src/utils.h1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/nl-list-caches.c b/src/nl-list-caches.c
index 9bb57c7..281be00 100644
--- a/src/nl-list-caches.c
+++ b/src/nl-list-caches.c
@@ -10,6 +10,7 @@
*/
#include "utils.h"
+#include <netlink-local.h>
static void print_usage(void)
{
diff --git a/src/utils.c b/src/utils.c
index e00275f..b73a143 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -12,6 +12,7 @@
#include "utils.h"
#include <stdlib.h>
+#include <stdarg.h>
uint32_t parse_u32(const char *arg)
{
diff --git a/src/utils.h b/src/utils.h
index 12f7c52..a5c94e6 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -23,7 +23,6 @@
#include <sys/types.h>
#include <sys/socket.h>
-#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>
#include <netlink/addr.h>