X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Flock_file.c;h=0e14e8de665ba05ce5ec41d87a4153a835f9b1cf;hb=9e3ce028db3b9fe01032ddee77df80210f7d0217;hp=7eaa0de30e01e8d5cc0c053d8bcdfee1ff333381;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/sbr/lock_file.c b/sbr/lock_file.c index 7eaa0de..0e14e8d 100644 --- a/sbr/lock_file.c +++ b/sbr/lock_file.c @@ -29,10 +29,7 @@ # include # endif #endif - -#ifdef HAVE_ERRNO_H -# include -#endif +#include #ifdef HAVE_FCNTL_H # include @@ -107,11 +104,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,