diff --git a/programs/platform.h b/programs/platform.h index 2b4b9f2d8..68be70bb3 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -102,6 +102,12 @@ extern "C" { # define PLATFORM_POSIX_VERSION 1 # endif +# ifdef __UCLIBC__ +# ifndef __USE_MISC +# define __USE_MISC /* enable st_mtim on uclibc */ +# endif +# endif + # else /* non-unix target platform (like Windows) */ # define PLATFORM_POSIX_VERSION 0 # endif