Imported Debian patch 1.5-15
[debian/pax] / gen_subs.c
index 6ff16f0a6eb7ded7a0ed827cdf321098644d6388..69fe3738eac20dee3bf645bdfc93b2a23748289f 100644 (file)
@@ -47,11 +47,13 @@ static char rcsid[] = "$OpenBSD: gen_subs.c,v 1.8 1997/09/01 18:29:51 deraadt Ex
 #endif /* not lint */
 
 #include <sys/types.h>
+#include <sys/sysmacros.h>
 #include <sys/time.h>
+#include <time.h>
 #include <sys/stat.h>
 #include <sys/param.h>
 #include <stdio.h>
-#include <tzfile.h>
+#include "tzfile.h"
 #include <utmp.h>
 #include <unistd.h>
 #include <stdlib.h>
@@ -59,6 +61,8 @@ static char rcsid[] = "$OpenBSD: gen_subs.c,v 1.8 1997/09/01 18:29:51 deraadt Ex
 #include "pax.h"
 #include "extern.h"
 
+#include "strmode.h"
+
 /*
  * a collection of general purpose subroutines used by pax
  */