aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/udhcp/clientpacket.c1
-rw-r--r--networking/udhcp/clientpacket.h2
-rw-r--r--networking/udhcp/leases.c1
-rw-r--r--networking/udhcp/packet.c1
-rw-r--r--networking/udhcp/script.c2
-rw-r--r--networking/udhcp/serverpacket.c1
-rw-r--r--networking/udhcp/serverpacket.h1
-rw-r--r--networking/udhcp/socket.c1
8 files changed, 9 insertions, 1 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index 3ca579c4f..5cbe79e7e 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -39,6 +39,7 @@
#include "dhcpd.h"
+#include "clientpacket.h"
#include "options.h"
#include "dhcpc.h"
#include "common.h"
diff --git a/networking/udhcp/clientpacket.h b/networking/udhcp/clientpacket.h
index 2a6facbc8..8e5441bc7 100644
--- a/networking/udhcp/clientpacket.h
+++ b/networking/udhcp/clientpacket.h
@@ -1,6 +1,8 @@
#ifndef _CLIENTPACKET_H
#define _CLIENTPACKET_H
+#include "packet.h"
+
unsigned long random_xid(void);
int send_discover(unsigned long xid, unsigned long requested);
int send_selecting(unsigned long xid, unsigned long server, unsigned long requested);
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c
index 0b6b409cd..341abab49 100644
--- a/networking/udhcp/leases.c
+++ b/networking/udhcp/leases.c
@@ -12,6 +12,7 @@
#include "dhcpd.h"
#include "files.h"
#include "options.h"
+#include "leases.h"
#include "arpping.h"
#include "common.h"
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c
index 0f2a3bc6f..32b489476 100644
--- a/networking/udhcp/packet.c
+++ b/networking/udhcp/packet.c
@@ -14,6 +14,7 @@
#endif
#include <errno.h>
+#include "packet.h"
#include "dhcpd.h"
#include "options.h"
#include "common.h"
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c
index 0f2a21c3a..9c766a2e2 100644
--- a/networking/udhcp/script.c
+++ b/networking/udhcp/script.c
@@ -32,7 +32,7 @@
#include "options.h"
#include "dhcpd.h"
#include "dhcpc.h"
-#include "options.h"
+#include "script.h"
#include "common.h"
/* get a rough idea of how long an option will be (rounding up...) */
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c
index 09682444e..32d3c8098 100644
--- a/networking/udhcp/serverpacket.c
+++ b/networking/udhcp/serverpacket.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <time.h>
+#include "serverpacket.h"
#include "dhcpd.h"
#include "options.h"
#include "common.h"
diff --git a/networking/udhcp/serverpacket.h b/networking/udhcp/serverpacket.h
index 5a4fb2768..233d44911 100644
--- a/networking/udhcp/serverpacket.h
+++ b/networking/udhcp/serverpacket.h
@@ -1,6 +1,7 @@
#ifndef _SERVERPACKET_H
#define _SERVERPACKET_H
+#include "packet.h"
int sendOffer(struct dhcpMessage *oldpacket);
int sendNAK(struct dhcpMessage *oldpacket);
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index df00e6985..60190a044 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -41,6 +41,7 @@
#include <linux/if_ether.h>
#endif
+#include "socket.h"
#include "common.h"
int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp)