enable use of vis, copying code in from OpenBSD CVS
[debian/pax] / gen_subs.c
index 912c32cdc87af2f84a84a9e947b226b05d5bef42..6a3184d93eed799643ad8d47e74cc6bef4059c7e 100644 (file)
@@ -54,7 +54,9 @@ static const char rcsid[] = "$OpenBSD: gen_subs.c,v 1.19 2007/04/04 21:55:10 mil
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
-#include <vis.h>
+#ifndef DEBIAN
+# include <vis.h>
+#endif /* DEBIAN */
 #include "pax.h"
 #include "extern.h"
 
@@ -71,7 +73,7 @@ static const char rcsid[] = "$OpenBSD: gen_subs.c,v 1.19 2007/04/04 21:55:10 mil
 #define DATELEN 64
 #define DAYSPERNYEAR 365
 #define SECSPERDAY 86400
-#define VIS_CSTYLE 0
+/* #define VIS_CSTYLE 0 */
 #define SIXMONTHS       ((DAYSPERNYEAR / 2) * SECSPERDAY)
 #define CURFRMT                "%b %e %H:%M"
 #define OLDFRMT                "%b %e  %Y"