diff options
Diffstat (limited to 'python/gevent/cares_ntop.h')
-rw-r--r-- | python/gevent/cares_ntop.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/gevent/cares_ntop.h b/python/gevent/cares_ntop.h new file mode 100644 index 0000000..9ffc9dd --- /dev/null +++ b/python/gevent/cares_ntop.h @@ -0,0 +1,7 @@ +#ifdef CARES_EMBED +#include "ares_setup.h" +#include "ares.h" +#else +#include <arpa/inet.h> +#define ares_inet_ntop(w,x,y,z) inet_ntop(w,x,y,z) +#endif |