2 ===================================================================
3 --- myconf.h (revision 7238)
4 +++ myconf.h (working copy)
11 -#include <sys/times.h>
18 +#include <sys/mman.h>
19 +#include <sys/times.h>
27 ===================================================================
28 --- tcutil.c (revision 7238)
29 +++ tcutil.c (working copy)
35 /*************************************************************************************************
37 *************************************************************************************************/
41 bool tclock(int fd, bool ex, bool nb){
45 memset(&lock, 0, sizeof(struct flock));
47 while(fcntl(fd, nb ? F_SETLK : F_SETLKW, &lock) == -1){
48 if(errno != EINTR) return false;