aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/os/gmt_mktime.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@toad.com>1995-03-29 02:46:29 +0000
committerJohn Gilmore <gnu@toad.com>1995-03-29 02:46:29 +0000
commit599b7d751e1d4c689047aefe8bc3bf90c810b8a5 (patch)
tree84a07b7444af35e47b639e27c88858149be545b3 /src/lib/krb5/os/gmt_mktime.c
parent3995599b75e3f722e300ec20caa9c433d458339d (diff)
downloadkrb5-599b7d751e1d4c689047aefe8bc3bf90c810b8a5.zip
krb5-599b7d751e1d4c689047aefe8bc3bf90c810b8a5.tar.gz
krb5-599b7d751e1d4c689047aefe8bc3bf90c810b8a5.tar.bz2
* DNR.c: Add Apple MacTCP source file for domain name resolution.
* macsock.c: Add fake socket support routines for MacTCP. * Makefile.in (OBJS, SRCS): Add DNR and macsock. * ccdefname.c: On Mac, default cred cache is "STDIO:krb5cc" for now. FIXME, this needs to find the Preferences folder and use that. FIXME, shouldn't be conditioned on HAVE_MACSOCK_H. * gmt_mktime.c: Use HAVE_SYS_TYPES_H. * krbfileio.c: Remove <sys/types.h>. * localaddr.c, sendto_kdc.c: Convert to more generic socket support. Use closesocket instead of close, SOCKET_ERRNO rather than errno, SOCKET rather than int, etc. * localaddr.c: Use getmyipaddr() from macsock.c, if on Mac. Add FIXME for multiple local addresses. * lock_file.c: Provide a dummy version for MacOS. * read_pwd.c (ECHO_PASSWORD): Add #ifdef's to avoid all the ioctls and other stuff that turn off echoing. This is useful for debugging on MacOS. FIXME: ECHO_PASSWORD needs to be added to configure.in. * ustime.c: Bring in Mac-specific time-and-timezone code. It probably isn't hooked up correctly, yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5299 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os/gmt_mktime.c')
-rw-r--r--src/lib/krb5/os/gmt_mktime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/krb5/os/gmt_mktime.c b/src/lib/krb5/os/gmt_mktime.c
index fac8e65..7cfeba2 100644
--- a/src/lib/krb5/os/gmt_mktime.c
+++ b/src/lib/krb5/os/gmt_mktime.c
@@ -2,7 +2,9 @@
#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#ifdef TIME_WITH_SYS_TIME