Commit 0ed285e8 authored by Yang Tse's avatar Yang Tse
Browse files

prototype for gethostname is in unistd.h

parent 905ca77c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,10 @@
#include <stdlib.h>
#include <ctype.h>

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

#include "urldata.h"
#include "sendf.h"
#include "strequal.h"