X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhcachesbr.c;h=eee863117caf9b1becebc1cce358a46acd62ec56;hb=9e1f6d6d4c2e154c7274e7fb3f1931924e458b17;hp=79d6bdad783b91e4a5b4a4b29160d848b226011e;hpb=164be8e5e8b40ce4572281be26d423a9c9d595f3;p=mmh diff --git a/uip/mhcachesbr.c b/uip/mhcachesbr.c index 79d6bda..eee8631 100644 --- a/uip/mhcachesbr.c +++ b/uip/mhcachesbr.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -21,16 +20,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; @@ -312,11 +305,7 @@ find_cache_aux (int writing, char *directory, char *id, 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", directory, usemap);