Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

common: fix includes

Don't rely on c-ares to pull in the headers for inet_addr, net_pton and
inet_ntop. c-ares 1.7.4 did but 1.7.5 does not.
  • Loading branch information...
bnoordhuis committed Sep 24, 2011
1 parent 94dbbee commit 6eb32aacaef8c77623c3b00e8098c2d288e744e1
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/uv-common.c
@@ -26,6 +26,10 @@
#include <stddef.h> /* NULL */
#include <string.h> /* memset */

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

/* use inet_pton from c-ares if necessary */
#include "ares_config.h"
#include "ares/inet_net_pton.h"

0 comments on commit 6eb32aa

Please sign in to comment.
You can’t perform that action at this time.