struct timespec gets declared to late in .../source3/include/includes.h, had to move it to before struc stat. Patch: diff -u ./source3/include/includes.h.orig ./source3/include/includes.h --- ./source3/include/includes.h.orig 2010-05-17 06:51:23.000000000 -0500 +++ ./source3/include/includes.h 2010-05-26 14:32:45.000000000 -0500 @@ -430,6 +440,13 @@ typedef long blkcnt_t; #endif +#ifndef HAVE_STRUCT_TIMESPEC +struct timespec { + time_t tv_sec; /* Seconds. */ + long tv_nsec; /* Nanoseconds. */ +}; +#endif + /* * Type for stat structure. */ @@ -542,13 +559,6 @@ # endif #endif -#ifndef HAVE_STRUCT_TIMESPEC -struct timespec { - time_t tv_sec; /* Seconds. */ - long tv_nsec; /* Nanoseconds. */ -}; -#endif - enum timestamp_set_resolution { TIMESTAMP_SET_SECONDS = 0, TIMESTAMP_SET_MSEC, Bye, Jojo
fixed in master by 3030d9db4ea7ddecc2e8bbef225738e0336e9be4
metze, please review and reassign to Karolin for cherry-pick to 3.5
Seems this relates to Bug 7478, I don't think we need that struct if we don't have nanosleep() to use it? Bye, Jojo
cleaning up stale bug reports ... meanwhile this probably won't get fixed in 3.5. Closing as FIXED as it's fixed in 3.6.