summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2000-03-14 17:18:29 +0000
committerKen Raeburn <raeburn@mit.edu>2000-03-14 17:18:29 +0000
commit1db2c30cd9a8afbe26a531c587b275faa3f4cfbb (patch)
tree567b85d959e1d30dd866ce09c5688a6350ab1f2d /src/lib
parentb45ccc9b637dfd96c085829f850cfd9706b62a6c (diff)
downloadkrb5-1db2c30cd9a8afbe26a531c587b275faa3f4cfbb.tar.gz
krb5-1db2c30cd9a8afbe26a531c587b275faa3f4cfbb.tar.xz
krb5-1db2c30cd9a8afbe26a531c587b275faa3f4cfbb.zip
* def_realm.c: Include netinet/in.h if available
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12111 dc483132-0cff-0310-8789-dd5450dbe970
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>