/* vi: set sw=4 ts=4: */
/*
- * $Id: hostname.c,v 1.19 2001/01/24 17:37:07 andersen Exp $
+ * $Id: hostname.c,v 1.21 2001/01/27 08:24:37 andersen Exp $
* Mini hostname implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#warning This applet has moved to netkit-tiny. After BusyBox 0.49, this
-#warning applet will be removed from BusyBox. All maintenance efforts
-#warning should be done in the netkit-tiny source tree.
-
#include "busybox.h"
#include <errno.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
+#include <string.h>
#include <stdio.h>
void do_sethostname(char *s, int isfile)