X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Flock_file.c;h=c7dffcfc0602f36386dd1a0ed01542b2691ab6fb;hb=5ee3667d7daf6e7090e3de104c3679259eb26da5;hp=8f2242a33bc3e9d7cc9633b3b5b65434735bbe64;hpb=d45c3d28d788129428036fd7f26fa417beccd93e;p=mmh diff --git a/sbr/lock_file.c b/sbr/lock_file.c index 8f2242a..c7dffcf 100644 --- a/sbr/lock_file.c +++ b/sbr/lock_file.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 #include #ifdef HAVE_FCNTL_H @@ -591,10 +585,6 @@ alrmser (int sig) char *lockfile; struct lock *lp; -#ifndef RELIABLE_SIGNALS - SIGNAL (SIGALRM, alrmser); -#endif - /* update the ctime of all the lock files */ for (lp = l_top; lp; lp = lp->l_next) { lockfile = lp->l_lock;