diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/gettimeofday.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/gettimeofday.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/gettimeofday.c b/sysdeps/unix/sysv/linux/gettimeofday.c index cb57bc9cf2..1c92e6d643 100644 --- a/sysdeps/unix/sysv/linux/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/gettimeofday.c @@ -16,15 +16,16 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#include <time.h> +#include <string.h> + /* Optimize the function call by setting the PLT directly to vDSO symbol. */ #ifdef USE_IFUNC_GETTIMEOFDAY -# include <time.h> -# include <string.h> # include <sysdep.h> # include <sysdep-vdso.h> # ifdef SHARED -# include <dl-vdso.h> +# include <dl-vdso.h> # include <libc-vdso.h> static int |