summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/os/ChangeLog4
-rw-r--r--src/lib/krb5/os/def_realm.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog
index 94913e3d83..d32c2218f7 100644
--- a/src/lib/krb5/os/ChangeLog
+++ b/src/lib/krb5/os/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-14 Ken Raeburn <raeburn@mit.edu>
+
+ * def_realm.c: Include netinet/in.h if available.
+
2000-02-25 Ken Raeburn <raeburn@mit.edu>
* localaddr.c (foreach_localaddr): Broken out from old
diff --git a/src/lib/krb5/os/def_realm.c b/src/lib/krb5/os/def_realm.c
index 09a513e97d..8647f89846 100644
--- a/src/lib/krb5/os/def_realm.c
+++ b/src/lib/krb5/os/def_realm.c
@@ -34,6 +34,9 @@
#ifdef WSHELPER
#include <wshelper.h>
#else /* WSHELPER */
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <resolv.h>