leftover hair from emacs config.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5334
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Mar 31 21:24:48 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, movemail.c: Use configure to see if unistd.h needs
+ to be included. Remove leftover hair from emacs config.
Mon Mar 27 09:17:06 1995 Chris Provenzano (proven@mit.edu)
WITH_NETLIB
AC_PROG_INSTALL
CHECK_FCNTL
+AC_HAVE_HEADERS(unistd.h)
WITH_KRB5ROOT
V5_AC_OUTPUT_MAKEFILE
#include "krb5.h"
#endif
#endif
-#ifdef USG
+
#include <fcntl.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#ifndef F_OK
#define F_OK 0
#define X_OK 1
#define W_OK 2
#define R_OK 4
#endif
-#endif /* USG */
#ifdef XENIX
#include <sys/locking.h>
#include <strings.h>
#endif
-/* Cancel substitutions made by config.h for Emacs. */
-#undef open
-#undef read
-#undef write
-#undef close
-
char *concat ();
extern int errno;
#include <hesiod.h>
#endif
-#ifdef USG
-#include <fcntl.h>
-/* Cancel substitutions made by config.h for Emacs. */
-#undef open
-#undef read
-#undef write
-#undef close
-#endif /* USG */
-
#define NOTOK (-1)
#define OK 0
#define DONE 1