diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-25 03:44:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-25 03:44:43 +0000 |
commit | 2b838e85e7da467b37a092473caa14014fc0717b (patch) | |
tree | 8f9a31dea444e2dc7f236d987c37e20291dd24b1 /acountry.c | |
parent | 09d10cb5c590586ddddefc9822246070977d4a88 (diff) | |
download | c-ares-2b838e85e7da467b37a092473caa14014fc0717b.tar.gz c-ares-2b838e85e7da467b37a092473caa14014fc0717b.tar.bz2 c-ares-2b838e85e7da467b37a092473caa14014fc0717b.zip |
George Neill's fix acountry sample application compilation failure.
Diffstat (limited to 'acountry.c')
-rw-r--r-- | acountry.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -60,6 +60,10 @@ #include "inet_net_pton.h" #include "inet_ntop.h" +#ifndef INADDR_NONE +#define INADDR_NONE 0xffffffff +#endif + static const char *usage = "acountry [-vh?] {host|addr} ...\n"; static const char nerd_fmt[] = "%u.%u.%u.%u.zz.countries.nerd.dk"; static const char *nerd_ver1 = nerd_fmt + 14; |