Commit Diff


commit - 83290b45b037bedb9c814d4afaf111edb4ab7754
commit + 303e14b5e91b152d78219ff8bbca1f9bfbbb094e
blob - fc01cc37b202d4d82745b7a8b29bb35f2fc71a04
blob + ba57c9a9820650433f49ef21d5eff17b52d34763
--- lib/diffreg.c
+++ lib/diffreg.c
@@ -64,6 +64,7 @@
  *	@(#)diffreg.c   8.1 (Berkeley) 6/6/93
  */
 
+#include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <sys/queue.h>
@@ -79,6 +80,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include <unistd.h>
 #include <limits.h>
 #include <sha1.h>
blob - 6ee2cf18dd546e0cff7500a322d3710b0ad60ced
blob + b32361c79015d1bc19a941fd7bc1d633bc74fc8a
--- lib/repository.c
+++ lib/repository.c
@@ -31,6 +31,7 @@
 #include <stdio.h>
 #include <sha1.h>
 #include <string.h>
+#include <time.h>
 #include <zlib.h>
 #include <errno.h>
 #include <libgen.h>
blob - aa70f135407e9e199d67455d25fd5c272fd51cee
blob + c6ccac6b2920245c609ec5aade63beea6bca9342
--- lib/worktree.c
+++ lib/worktree.c
@@ -24,6 +24,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <time.h>
 #include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>