diff options
-rw-r--r-- | networking/udhcp/clientpacket.c | 1 | ||||
-rw-r--r-- | networking/udhcp/clientpacket.h | 2 | ||||
-rw-r--r-- | networking/udhcp/leases.c | 1 | ||||
-rw-r--r-- | networking/udhcp/packet.c | 1 | ||||
-rw-r--r-- | networking/udhcp/script.c | 2 | ||||
-rw-r--r-- | networking/udhcp/serverpacket.c | 1 | ||||
-rw-r--r-- | networking/udhcp/serverpacket.h | 1 | ||||
-rw-r--r-- | networking/udhcp/socket.c | 1 |
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 @@ | |||
39 | 39 | ||
40 | 40 | ||
41 | #include "dhcpd.h" | 41 | #include "dhcpd.h" |
42 | #include "clientpacket.h" | ||
42 | #include "options.h" | 43 | #include "options.h" |
43 | #include "dhcpc.h" | 44 | #include "dhcpc.h" |
44 | #include "common.h" | 45 | #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 @@ | |||
1 | #ifndef _CLIENTPACKET_H | 1 | #ifndef _CLIENTPACKET_H |
2 | #define _CLIENTPACKET_H | 2 | #define _CLIENTPACKET_H |
3 | 3 | ||
4 | #include "packet.h" | ||
5 | |||
4 | unsigned long random_xid(void); | 6 | unsigned long random_xid(void); |
5 | int send_discover(unsigned long xid, unsigned long requested); | 7 | int send_discover(unsigned long xid, unsigned long requested); |
6 | int send_selecting(unsigned long xid, unsigned long server, unsigned long requested); | 8 | 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 @@ | |||
12 | #include "dhcpd.h" | 12 | #include "dhcpd.h" |
13 | #include "files.h" | 13 | #include "files.h" |
14 | #include "options.h" | 14 | #include "options.h" |
15 | #include "leases.h" | ||
15 | #include "arpping.h" | 16 | #include "arpping.h" |
16 | #include "common.h" | 17 | #include "common.h" |
17 | 18 | ||
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 @@ | |||
14 | #endif | 14 | #endif |
15 | #include <errno.h> | 15 | #include <errno.h> |
16 | 16 | ||
17 | #include "packet.h" | ||
17 | #include "dhcpd.h" | 18 | #include "dhcpd.h" |
18 | #include "options.h" | 19 | #include "options.h" |
19 | #include "common.h" | 20 | #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 @@ | |||
32 | #include "options.h" | 32 | #include "options.h" |
33 | #include "dhcpd.h" | 33 | #include "dhcpd.h" |
34 | #include "dhcpc.h" | 34 | #include "dhcpc.h" |
35 | #include "options.h" | 35 | #include "script.h" |
36 | #include "common.h" | 36 | #include "common.h" |
37 | 37 | ||
38 | /* get a rough idea of how long an option will be (rounding up...) */ | 38 | /* 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 @@ | |||
25 | #include <string.h> | 25 | #include <string.h> |
26 | #include <time.h> | 26 | #include <time.h> |
27 | 27 | ||
28 | #include "serverpacket.h" | ||
28 | #include "dhcpd.h" | 29 | #include "dhcpd.h" |
29 | #include "options.h" | 30 | #include "options.h" |
30 | #include "common.h" | 31 | #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 @@ | |||
1 | #ifndef _SERVERPACKET_H | 1 | #ifndef _SERVERPACKET_H |
2 | #define _SERVERPACKET_H | 2 | #define _SERVERPACKET_H |
3 | 3 | ||
4 | #include "packet.h" | ||
4 | 5 | ||
5 | int sendOffer(struct dhcpMessage *oldpacket); | 6 | int sendOffer(struct dhcpMessage *oldpacket); |
6 | int sendNAK(struct dhcpMessage *oldpacket); | 7 | 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 @@ | |||
41 | #include <linux/if_ether.h> | 41 | #include <linux/if_ether.h> |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #include "socket.h" | ||
44 | #include "common.h" | 45 | #include "common.h" |
45 | 46 | ||
46 | int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp) | 47 | int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp) |