diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 09:44:14 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 09:44:14 +0000 |
commit | 130b6291cb9591994b26e0bdee6cc6a1a03b22e9 (patch) | |
tree | 79419d9fb05c22af53f12f0cbf1f5c2225612e59 /main | |
parent | 2940cf943f075eb805632b466cee367f2ca364d5 (diff) |
netdb.h is used for gethostbyname, and it was not included in some
platforms.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/utils.c b/main/utils.c index d7a04e9b2..586e1ccc7 100644 --- a/main/utils.c +++ b/main/utils.c @@ -31,6 +31,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <errno.h> #include <sys/stat.h> #include <sys/socket.h> +#include <netdb.h> #include <netinet/in.h> #include <arpa/inet.h> |