diff --git a/lib/libspl/timestamp.c b/lib/libspl/timestamp.c index a4f4cf4e47e0..a1772703c76f 100644 --- a/lib/libspl/timestamp.c +++ b/lib/libspl/timestamp.c @@ -28,6 +28,10 @@ #include #include "statcommon.h" +#ifndef _DATE_FMT +#define _DATE_FMT D_FMT +#endif + /* * Print timestamp as decimal reprentation of time_t value (-T u was specified) * or in date(1) format (-T d was specified).