aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_getopt.c')
-rw-r--r--ares/ares_getopt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ares/ares_getopt.c b/ares/ares_getopt.c
index 738e70738..a14b6da30 100644
--- a/ares/ares_getopt.c
+++ b/ares/ares_getopt.c
@@ -44,9 +44,12 @@
* #endif
*/
+#include "setup.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "ares.h"
/* declarations to provide consistent linkage */
extern char *optarg;
@@ -61,7 +64,7 @@ char *optarg; /* argument associated with option */
#define BADCH (int)'?'
#define BADARG (int)':'
-#define EMSG ""
+#define EMSG (char *)""
/*
* ares_getopt --