diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 0a908f055667c57fb544ac8add3b692e8ccc8c09..78db12b5b650a35571d6616c6d58597b1f052d89 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -352,6 +352,7 @@ endif
 	@echo $(DL)#define HAVE_FCNTL_H 1$(DL) >> $@
 	@echo $(DL)#define HAVE_GETHOSTBYADDR 1$(DL) >> $@
 	@echo $(DL)#define HAVE_GETHOSTBYNAME 1$(DL) >> $@
+	@echo $(DL)#define HAVE_GETHOSTNAME 1$(DL) >> $@
 	@echo $(DL)#define HAVE_GETPROTOBYNAME 1$(DL) >> $@
 	@echo $(DL)#define HAVE_GMTIME_R 1$(DL) >> $@
 	@echo $(DL)#define HAVE_INET_ADDR 1$(DL) >> $@