aboutsummaryrefslogtreecommitdiff
path: root/ares/ahost.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
committerYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
commit0563a7a9238843b5c4a0338452999c8c26623198 (patch)
tree211ce60c12203bd52b9b054a77eb60e5f8b4488b /ares/ahost.c
parent945ba7cb7ed834762400b832d3201d4dbbb8679a (diff)
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
Diffstat (limited to 'ares/ahost.c')
-rw-r--r--ares/ahost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares/ahost.c b/ares/ahost.c
index d6a227f67..dfb51a931 100644
--- a/ares/ahost.c
+++ b/ares/ahost.c
@@ -38,6 +38,7 @@
#include "ares_dns.h"
#include "inet_ntop.h"
#include "inet_net_pton.h"
+#include "ares_getopt.h"
#ifndef optind
extern int optind;