+Thu Mar 2 18:00:00 1995 Keith Vetter (keithv@fusion.com)
+
+ * ustime.c: added another include for the pc for prototyping.
+ * localaddr.c: used the NEED_SOCKETS mechanism for getting winsock.h.
+
Wed Mar 1 17:30:00 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: made to work on the PC
*/
+#define NEED_SOCKETS
#include "k5-int.h"
#ifndef _MSDOS
/* No ioctls in winsock so we just assume there is only one networking
* card per machine, so gethostent is good enough.
*/
-#include <krb5/winsock.h>
-#include <errno.h>
krb5_error_code INTERFACE
krb5_os_localaddr (krb5_address ***addr) {
#include <time.h>
#include <sys/timeb.h>
#include <dos.h>
+#include <string.h>
/*
* Time handling. Translate Unix time calls into Kerberos internal
struct _timeb now;
time_t time;
long convert; /* MSC 7.00 bug work around */
- void memset();
_ftime(&now); /* Daylight savings time */