for read/write prototypes.
* in_tkt.c: Argument to umask should be of type uid_t.
* configure.in: Test for uid_t (AC_TYPE_UID_T).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12723
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-10-05 Ezra Peisach <epeisach@mit.edu>
+
+ * netread.c, netwrite.c: Include unistd.h if present on machine
+ for read/write prototypes.
+
+ * in_tkt.c: Argument to umask should be of type uid_t.
+
+ * configure.in: Test for uid_t (AC_TYPE_UID_T).
+
+
2000-08-31 Tom Yu <tlyu@mit.edu>
* Makefile.in(OBJS, SRCS): Add lifetime.{o,c}.
else
AC_DEFINE(BITS32)
fi
+AC_TYPE_UID_T
AC_DEFINE(KRB4_USE_KEYTAB)
AC_HAVE_FUNCS(strdup seteuid setreuid setresuid)
AC_PROG_AWK
int fd;
register int i;
char charbuf[BUFSIZ];
- int mask;
+ uid_t mask;
#ifdef TKT_SHMEM
char shmidname[MAXPATHLEN];
#endif /* TKT_SHMEM */
#include <errno.h>
#define DEFINE_SOCKADDR
#include "krb.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifndef _WINDOWS
extern int errno;
#endif
#include <errno.h>
#define DEFINE_SOCKADDR
#include "krb.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#ifndef _WINDOWS
extern int errno;
#endif