aboutsummaryrefslogtreecommitdiff
path: root/networking/hostname.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-23 13:49:14 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-23 13:49:14 +0000
commite0c0757d0925d7f83e2e107861c4e3ec8f525108 (patch)
tree806346c72b573fa64f1c381ea49853fcf15a2964 /networking/hostname.c
parentd9c8acec373213fb4c1778ab03364372fdf7a63b (diff)
downloadbusybox-e0c0757d0925d7f83e2e107861c4e3ec8f525108.tar.gz
These were broken when using dmalloc due to include file ordering
problems. busybox.h must be last. -Erik
Diffstat (limited to 'networking/hostname.c')
-rw-r--r--networking/hostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/hostname.c b/networking/hostname.c
index 75e4d2e57..573c8cece 100644
--- a/networking/hostname.c
+++ b/networking/hostname.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: hostname.c,v 1.28 2001/05/16 15:40:48 kraai Exp $
+ * $Id: hostname.c,v 1.29 2001/06/23 13:49:14 andersen Exp $
* Mini hostname implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -23,7 +23,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "busybox.h"
#include <errno.h>
#include <arpa/inet.h>
#include <netdb.h>
@@ -31,6 +30,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include "busybox.h"
static void do_sethostname(char *s, int isfile)
{