Use #define NEED_SOCKETS instead of #including <netdb.h> (this breaks
authorTheodore Tso <tytso@mit.edu>
Tue, 27 Feb 1996 23:48:59 +0000 (23:48 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 27 Feb 1996 23:48:59 +0000 (23:48 +0000)
under windows).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7554 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/hostaddr.c

index 76441b6251f489fd870fa42e203ef89240faedc8..088fabedc6f554fb8d45f7ca55dcee62fc457a52 100644 (file)
@@ -1,3 +1,8 @@
+Tue Feb 27 18:48:03 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * hostaddr.c (krb5_os_hostaddr): Use #define NEED_SOCKETS instead
+               of #including <netdb.h>  (this breaks under windows).
+
 Mon Feb 26 17:04:26 1996  Theodore Y. Ts'o  <tytso@dcl>
 
        * promptusr.c: Don't compile promptusr for Windows or Macintosh.
index 9bd482020c8729f85f88ffad243d583774b4484f..18b06691df6b4031e2e1a53d318a06c74667925f 100644 (file)
  *
  */
 
+#include NEED_SOCKETS
 #include "k5-int.h"
 
-#include <netdb.h>
-
 krb5_error_code
 krb5_os_hostaddr(context, name, ret_addrs)
     krb5_context context;