aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-10 18:37:06 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-10 18:37:06 +0200
commit860d2bbdda67acfec39cd28e38881633ec4e66d6 (patch)
tree284fe111111ba2e2f19deed779e34846e58e04ca /networking
parent874201fee5a57acf25efe1b0b9c7e58ef6ef98a5 (diff)
downloadbusybox-w32-860d2bbdda67acfec39cd28e38881633ec4e66d6.tar.gz
busybox-w32-860d2bbdda67acfec39cd28e38881633ec4e66d6.tar.bz2
busybox-w32-860d2bbdda67acfec39cd28e38881633ec4e66d6.zip
fix fallout from BSD patches
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/clientpacket.c9
-rw-r--r--networking/udhcp/clientsocket.c8
2 files changed, 8 insertions, 9 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index 0a3e6441b..8ccdfcca2 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -7,6 +7,10 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 8 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
9 */ 9 */
10#include "common.h"
11#include "dhcpd.h"
12#include "dhcpc.h"
13#include "options.h"
10 14
11//#include <features.h> 15//#include <features.h>
12#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION 16#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION
@@ -18,11 +22,6 @@
18#include <linux/if_ether.h> 22#include <linux/if_ether.h>
19#endif 23#endif
20 24
21#include "common.h"
22#include "dhcpd.h"
23#include "dhcpc.h"
24#include "options.h"
25
26 25
27/* Create a random xid */ 26/* Create a random xid */
28uint32_t FAST_FUNC random_xid(void) 27uint32_t FAST_FUNC random_xid(void)
diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c
index 0febc0459..8e68f31e7 100644
--- a/networking/udhcp/clientsocket.c
+++ b/networking/udhcp/clientsocket.c
@@ -20,6 +20,10 @@
20 * along with this program; if not, write to the Free Software 20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 */ 22 */
23#include "common.h"
24#include "dhcpd.h"
25#include "dhcpc.h"
26
23 27
24//#include <features.h> 28//#include <features.h>
25#include <asm/types.h> 29#include <asm/types.h>
@@ -32,10 +36,6 @@
32#endif 36#endif
33#include <linux/filter.h> 37#include <linux/filter.h>
34 38
35#include "common.h"
36#include "dhcpd.h"
37#include "dhcpc.h"
38
39int FAST_FUNC udhcp_raw_socket(int ifindex) 39int FAST_FUNC udhcp_raw_socket(int ifindex)
40{ 40{
41 int fd; 41 int fd;