summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-06-27 11:20:20 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-06-27 11:23:52 +0200
commitab7813e71ca43397071b11250bd40007b116e224 (patch)
treebbb2758b7ee9b9a721179973fe9612ed49109e5f /src
parent93abe6f02ad6e050996c4ead2481f103417df64f (diff)
treewide: use angle-brackets to include libubox header files
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/dhcpv6-ia.c5
-rw-r--r--src/odhcpd.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index 3275da5..c2221d8 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -16,8 +16,6 @@
#include "odhcpd.h"
#include "dhcpv6.h"
#include "dhcpv4.h"
-#include "libubox/md5.h"
-#include "libubox/usock.h"
#include <time.h>
#include <errno.h>
@@ -34,6 +32,9 @@
#include <arpa/inet.h>
#include <sys/timerfd.h>
+#include <libubox/md5.h>
+#include <libubox/usock.h>
+
#define ADDR_ENTRY_VALID_IA_ADDR(iface, i, m, addrs) \
((iface)->managed == RELAYD_MANAGED_NO_AFLAG || (i) == (m) || \
(addrs)[(i)].prefix > 64)
diff --git a/src/odhcpd.h b/src/odhcpd.h
index ecb7d9a..1803a41 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -20,7 +20,7 @@
#include <stdbool.h>
#include <syslog.h>
-#include "libubox/blobmsg.h"
+#include <libubox/blobmsg.h>
#ifndef typeof
#define typeof __typeof
@@ -31,8 +31,8 @@
(type *)( (char *)ptr - offsetof(type,member) ))
#endif
-#include "libubox/list.h"
-#include "libubox/uloop.h"
+#include <libubox/list.h>
+#include <libubox/uloop.h>
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))