Hi, I just tried to compile fileutils 4.1 but I got an error:
"shred.c:892: `CLOCK_REALTIME' undeclared (first use in this function)"

I tried to change this:

# if HAVE_CLOCK_GETTIME         /* POSIX ns-resolution */
    struct timespec t;
    clock_gettime (CLOCK_REALTIME, &t);
# else
        

to this:

# ifdef CLOCK_REALTIME          /* POSIX ns-resolution */
    struct timespec t;
    clock_gettime (CLOCK_REALTIME, &t);
# else
        
in file "shred.c" and now evrthng seems to work ok. I dont know if this is bug or not, 
I'm not very clever in programming, but anyway I think it may be intrstng for you.



sincerely

[EMAIL PROTECTED]


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to