Commit 60029f499e147bb4e03c419e3e7d235cd8120609

Vicent Marti 2012-06-24T16:56:32

amigaos: Add missing include

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/posix.h b/src/posix.h
index 76f3b94..d35fe08 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;