diff options
Diffstat (limited to 'libshouldbeinlibc/localhost.c')
-rw-r--r-- | libshouldbeinlibc/localhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/localhost.c b/libshouldbeinlibc/localhost.c index f0225116..9b7d4e09 100644 --- a/libshouldbeinlibc/localhost.c +++ b/libshouldbeinlibc/localhost.c @@ -19,9 +19,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <unistd.h> -#include <malloc.h> #include <string.h> #include <errno.h> +#include <stdlib.h> /* Return the name of the localhost. This is just a wrapper for gethostname, which takes care of allocating a big enough buffer, and caches the result |