diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index 767d3a0bcb06860a97dcd7c230593d7d4c0c9cfc..ef28cc5d7bff0710c4d29f18d5f1594248420797 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -20,7 +20,11 @@ * - clock_gettime_fallback(): fallback for clock_gettime. * - clock_getres_fallback(): fallback for clock_getres. */ +#ifdef ENABLE_COMPAT_VDSO +#include <asm/vdso/compat_gettimeofday.h> +#else #include <asm/vdso/gettimeofday.h> +#endif /* ENABLE_COMPAT_VDSO */ static int do_hres(const struct vdso_data *vd, clockid_t clk, struct __kernel_timespec *ts)