aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-host-utils.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index a146b260d6..d66bca35bf 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-28 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-host-utils.c: Added #include <netinet/in.h> for the
+ sockaddr_in6 typedef for at least MacOS X.
+
2003-04-17 Jeffrey Stedfast <fejj@ximian.com>
* e-host-utils.c (e_gethostbyname_r): Keep our buf ptr aligned to
diff --git a/e-util/e-host-utils.c b/e-util/e-host-utils.c
index 04a2c6373e..e1a7296b3d 100644
--- a/e-util/e-host-utils.c
+++ b/e-util/e-host-utils.c
@@ -32,6 +32,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>