diff options
author | Eric Andersen | 2001-03-09 14:36:42 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-09 14:36:42 +0000 |
commit | eba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch) | |
tree | c7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /hostname.c | |
parent | 9ba5bce06f71e610db752489b4f97e2af56c2577 (diff) | |
download | busybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.zip busybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.gz |
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
warnings with glibc 2.2 and use always use xfopen
-Erik
Diffstat (limited to 'hostname.c')
-rw-r--r-- | hostname.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: hostname.c,v 1.24 2001/02/14 21:23:06 andersen Exp $ + * $Id: hostname.c,v 1.25 2001/03/09 14:36:42 andersen Exp $ * Mini hostname implementation for busybox * * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> @@ -30,6 +30,7 @@ #include <unistd.h> #include <string.h> #include <stdio.h> +#include <stdlib.h> void do_sethostname(char *s, int isfile) { |