diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-19 01:44:58 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-19 01:44:58 +0100 |
commit | 448d06e8dc5c06f111bb6baae7d456e174225729 (patch) | |
tree | 0ddcedd3ca2d516b5e103c2b6ceee631871c651d /libshouldbeinlibc/localhost.c | |
parent | 4d6828ca04636d331f9a050f05b576e489022a1f (diff) | |
parent | e971ab1a229d1ef1d5c1e5e1ff52ec597c55270e (diff) |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd
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 |