X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Flock_file.c;h=983d9d70d437ad6b6365f0c37bc3a65e6c32c003;hb=768b5edd9623b7238e12ec8dfc409b82a1ed9e2d;hp=e065c93e4657bdd677337bd9311a014cd42f3928;hpb=9f9bfa91d88b3ca4cd9206c1f2b17c6d13ebcaba;p=mmh diff --git a/sbr/lock_file.c b/sbr/lock_file.c index e065c93..983d9d7 100644 --- a/sbr/lock_file.c +++ b/sbr/lock_file.c @@ -30,9 +30,7 @@ # endif #endif -#ifdef HAVE_ERRNO_H -# include -#endif +#include #ifdef HAVE_FCNTL_H # include @@ -107,11 +105,11 @@ static void lockname(char *, struct lockinfo *, int); static void timerON(char *, int); static void timerOFF(int); static RETSIGTYPE alrmser(int); -#endif #if !defined(HAVE_LIBLOCKFILE) static int lockit(struct lockinfo *); #endif +#endif /* ** Base routine to open and lock a file,