X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhcachesbr.c;h=201ce514ab294df8f8ffdd9cea3159b540a15c90;hb=d0581ba306a7299113a346f9b4c46ce97bc4cef6;hp=975d2e13a13ee167a920c917f4e1a72257c27529;hpb=0c648c7c1509760370d4c4267a45a5a305885e7f;p=mmh diff --git a/uip/mhcachesbr.c b/uip/mhcachesbr.c index 975d2e1..201ce51 100644 --- a/uip/mhcachesbr.c +++ b/uip/mhcachesbr.c @@ -19,16 +19,10 @@ #include #include -#ifdef TIME_WITH_SYS_TIME +#ifdef HAVE_SYS_TIME_H # include -# include -#else -# ifdef TM_IN_SYS_TIME -# include -# else -# include -# endif #endif +#include extern int debugsw; @@ -309,12 +303,7 @@ find_cache_aux(int writing, char *directory, char *id, char *buffer, FILE *fp; static int partno, pid; static time_t clock = 0; - -#ifdef BSD42 - usemap = strchr(id, '/') ? 1 : 0; -#else usemap = 1; -#endif if (debugsw) fprintf(stderr, "find_cache_aux %s usemap=%d\n",