summaryrefslogtreecommitdiffstats
path: root/interface.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-11 21:42:53 +0000
committerRoy Marples <roy@marples.name>2008-02-11 21:42:53 +0000
commit0ee2469dc74a371151f4affd0c6b508f942fc4de (patch)
treea2cf01112e38a03dc4f2eb347c5508d546b5dc8b /interface.h
parent568f95fa5d90c1e9b2267d4086809782a4e36559 (diff)
downloaddhcpcd-0ee2469dc74a371151f4affd0c6b508f942fc4de.tar.xz
Fix compile warning for new netlink callback header.
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index 61bf1e90..6e000241 100644
--- a/interface.h
+++ b/interface.h
@@ -38,6 +38,11 @@
#include <stdbool.h>
#include "config.h"
+
+#ifdef __linux__
+# include <linux/netlink.h>
+#endif
+
#ifdef ENABLE_DUID
#ifndef DUID_LEN
# define DUID_LEN 128 + 2