projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2940cf9
)
netdb.h is used for gethostbyname, and it was not included in some
author
Luigi Rizzo
<rizzo@icir.org>
Sat, 17 Nov 2007 09:44:14 +0000
(09:44 +0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Sat, 17 Nov 2007 09:44:14 +0000
(09:44 +0000)
platforms.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89365
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/utils.c
patch
|
blob
|
history
diff --git
a/main/utils.c
b/main/utils.c
index
d7a04e9
..
586e1cc
100644
(file)
--- 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>