summaryrefslogtreecommitdiff
path: root/src/posix.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-06-24 16:56:32 +0200
committerVicent Marti <tanoku@gmail.com>2012-06-24 16:56:32 +0200
commit60029f499e147bb4e03c419e3e7d235cd8120609 (patch)
tree879f0c455383c585723f4ff82e6d5ff4ce783a00 /src/posix.h
parent798e4d53dcd2f5340782083130c0fb5227d596ac (diff)
downloadlibgit2-60029f499e147bb4e03c419e3e7d235cd8120609.tar.gz
amigaos: Add missing include
Diffstat (limited to 'src/posix.h')
-rw-r--r--src/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/posix.h b/src/posix.h
index 76f3b942e..d35fe08a5 100644
--- a/src/posix.h
+++ b/src/posix.h
@@ -96,6 +96,7 @@ GIT_INLINE(int) p_readdir_r(DIR *dirp, struct dirent *entry, struct dirent **res
#endif
#ifdef NO_ADDRINFO
+# include <netdb.h>
struct addrinfo {
struct hostent *ai_hostent;
struct servent *ai_servent;