From eba8ed71f08f334bc94ac8eeedcd998fcdd05897 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 9 Mar 2001 14:36:42 +0000 Subject: Patchs from Jeff Garzik to cleanup warnings with glibc 2.2 and use always use xfopen -Erik --- networking/hostname.c | 3 ++- networking/nc.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'networking') diff --git a/networking/hostname.c b/networking/hostname.c index e1486b365..8ea8fe107 100644 --- a/networking/hostname.c +++ b/networking/hostname.c @@ -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 @@ -30,6 +30,7 @@ #include #include #include +#include void do_sethostname(char *s, int isfile) { diff --git a/networking/nc.c b/networking/nc.c index e40d4b459..72439dd85 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -28,6 +28,7 @@ #include #include +#include #include #include -- cgit v1.2.3