Doing diffs in .: --- ./xlators/protocol/client/src/client-protocol.c.~1~ 2007-05-14 00:07:12.000000000 -0700 +++ ./xlators/protocol/client/src/client-protocol.c 2007-06-02 17:12:05.000000000 -0700 @@ -53,6 +57,18 @@ lookup_frame (transport_t *trans, int64_ return frame; } +#ifdef _TIMESPEC +#define HAVE_TIMESPEC_NSEC +#endif +#ifdef _STRUCT_TIMESPEC +#define HAVE_TIMESPEC_NSEC +#endif +#ifdef HAVE_TIMESPEC_NSEC +#define st_atim st_atimespec +#define st_mtim st_mtimespec +#define st_ctim st_ctimespec +#endif + static struct stat * str_to_stat (char *buf) { --- ./xlators/protocol/server/src/proto-srv.c.~1~ 2007-05-07 23:20:47.000000000 -0700 +++ ./xlators/protocol/server/src/proto-srv.c 2007-06-02 17:09:26.000000000 -0700 @@ -33,6 +33,18 @@ # define F_L64 "%ll" #endif +#ifdef _TIMESPEC +#define HAVE_TIMESPEC_NSEC +#endif +#ifdef _STRUCT_TIMESPEC +#define HAVE_TIMESPEC_NSEC +#endif +#ifdef HAVE_TIMESPEC_NSEC +#define st_atim st_atimespec +#define st_mtim st_mtimespec +#define st_ctim st_ctimespec +#endif + static char * stat_to_str (struct stat *stbuf) { --------------