@@ -20,6 +20,8 @@
*
*/
+#define gettimeofday __gettimeofday
+
#define _GNU_SOURCE
#include "syscalls.h"
#include <time.h>
@@ -7,6 +7,8 @@
#ifndef _DL_OSINFO_H
#define _DL_OSINFO_H 1
#include <features.h>
#ifdef __UCLIBC_HAS_SSP__
@@ -9,7 +9,6 @@
#include <sys/time.h>
-#undef gettimeofday
#define __NR___gettimeofday __NR_gettimeofday
attribute_hidden _syscall2(int, __gettimeofday, struct timeval *, tv, struct timezone *, tz);
strong_alias(__gettimeofday,gettimeofday)
* GNU Library General Public License (LGPL) version 2 or later.
@@ -8,6 +8,7 @@
#define utimes __utimes
#include <utime.h>