aboutsummaryrefslogtreecommitdiff
path: root/ifconfig.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-20 06:14:08 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-20 06:14:08 +0000
commitb59ae6c5acd924f88fc9cb4285ed283f27c65194 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /ifconfig.c
parent59d90b8337e20463074c14f5215e7f2fdeb800ad (diff)
downloadbusybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.tar.gz
busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.tar.bz2
busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.zip
It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'ifconfig.c')
-rw-r--r--ifconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ifconfig.c b/ifconfig.c
index 66615a2fd..a3e2c0fdb 100644
--- a/ifconfig.c
+++ b/ifconfig.c
@@ -15,17 +15,16 @@
15 * Foundation; either version 2 of the License, or (at 15 * Foundation; either version 2 of the License, or (at
16 * your option) any later version. 16 * your option) any later version.
17 * 17 *
18 * $Id: ifconfig.c,v 1.2 2001/02/14 21:23:06 andersen Exp $ 18 * $Id: ifconfig.c,v 1.3 2001/02/20 06:14:07 andersen Exp $
19 * 19 *
20 */ 20 */
21 21
22#include "busybox.h"
23#include <sys/types.h>
24#include <stdio.h> 22#include <stdio.h>
25#include <stdlib.h> 23#include <stdlib.h>
26#include <errno.h> 24#include <errno.h>
27#include <string.h> // strcmp and friends 25#include <string.h> // strcmp and friends
28#include <ctype.h> // isdigit and friends 26#include <ctype.h> // isdigit and friends
27#include <sys/types.h>
29#include <sys/socket.h> 28#include <sys/socket.h>
30#include <sys/ioctl.h> 29#include <sys/ioctl.h>
31#include <netinet/in.h> 30#include <netinet/in.h>
@@ -33,6 +32,7 @@
33#include <net/if.h> 32#include <net/if.h>
34#include <net/if_arp.h> 33#include <net/if_arp.h>
35#include <linux/if_ether.h> 34#include <linux/if_ether.h>
35#include "busybox.h"
36 36
37static int sockfd; /* socket fd we use to manipulate stuff with */ 37static int sockfd; /* socket fd we use to manipulate stuff with */
38 38