[asterisk-commits] rizzo: trunk r89365 - /trunk/main/utils.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Nov 17 03:44:16 CST 2007
Author: rizzo
Date: Sat Nov 17 03:44:14 2007
New Revision: 89365
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89365
Log:
netdb.h is used for gethostbyname, and it was not included in some
platforms.
Modified:
trunk/main/utils.c
Modified: trunk/main/utils.c
URL: http://svn.digium.com/view/asterisk/trunk/main/utils.c?view=diff&rev=89365&r1=89364&r2=89365
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Sat Nov 17 03:44:14 2007
@@ -31,6 +31,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <sys/socket.h>
+#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
More information about the asterisk-commits
mailing list