Fix the pwd and group functions. The bb_ stuff was a leftover from
[oweals/busybox.git] / hostname.c
index c64d1602b987abc9ab94c5bf0811baf857333369..a789fa0f15d9a787691ae286db52f38bf3b3e63b 100644 (file)
@@ -1,6 +1,6 @@
 /* vi: set sw=4 ts=4: */
 /*
- * $Id: hostname.c,v 1.17 2000/12/22 01:48:07 kraai 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>
@@ -28,6 +28,7 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <unistd.h>
+#include <string.h>
 #include <stdio.h>
 
 void do_sethostname(char *s, int isfile)