chiark / gitweb /
Various fixes.
[misc] / locking.c
index 2e61f0d26ecfef8fa1c4a5291f7a75c524d7d0a8..cf2917a6008ca5c3f1b6578ed64e13ea91bec660 100644 (file)
--- a/locking.c
+++ b/locking.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: locking.c,v 1.3 2004/04/08 01:36:26 mdw Exp $
+ * $Id$
  *
  * Lock a file, run a program
  *
@@ -34,6 +34,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 
 #include <sys/types.h>
 #include <sys/time.h>