#include <h/mh.h>
#include <h/signals.h>
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# ifdef TM_IN_SYS_TIME
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif
else
snprintf (li->tmplock, sizeof(li->tmplock), "%.*s,LCK.XXXXXX",
cp - li->curlock, li->curlock);
+/*
+ Mkstemp work postponed until later -Doug
#ifdef HAVE_MKSTEMP
mkstemp (li->tmplock);
#else
+*/
mktemp (li->tmplock);
+/*
#endif
+*/
unlink (li->tmplock); /* remove any stray */
}