summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-10 18:37:06 +0200
committerDenys Vlasenko2009-07-10 18:37:06 +0200
commit860d2bbdda67acfec39cd28e38881633ec4e66d6 (patch)
tree284fe111111ba2e2f19deed779e34846e58e04ca /networking
parent874201fee5a57acf25efe1b0b9c7e58ef6ef98a5 (diff)
downloadbusybox-860d2bbdda67acfec39cd28e38881633ec4e66d6.zip
busybox-860d2bbdda67acfec39cd28e38881633ec4e66d6.tar.gz
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 0a3e644..8ccdfcc 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -7,6 +7,10 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "common.h"
+#include "dhcpd.h"
+#include "dhcpc.h"
+#include "options.h"
//#include <features.h>
#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION
@@ -18,11 +22,6 @@
#include <linux/if_ether.h>
#endif
-#include "common.h"
-#include "dhcpd.h"
-#include "dhcpc.h"
-#include "options.h"
-
/* Create a random xid */
uint32_t FAST_FUNC random_xid(void)
diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c
index 0febc04..8e68f31 100644
--- a/networking/udhcp/clientsocket.c
+++ b/networking/udhcp/clientsocket.c
@@ -20,6 +20,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "common.h"
+#include "dhcpd.h"
+#include "dhcpc.h"
+
//#include <features.h>
#include <asm/types.h>
@@ -32,10 +36,6 @@
#endif
#include <linux/filter.h>
-#include "common.h"
-#include "dhcpd.h"
-#include "dhcpc.h"
-
int FAST_FUNC udhcp_raw_socket(int ifindex)
{
int fd;