fix avr32 compiling
[openwrt/svn-archive/archive.git] / toolchain / uClibc / patches / 120-adjtimex.patch
1 Index: uClibc-0.9.29/include/sys/timex.h
2 ===================================================================
3 --- uClibc-0.9.29.orig/include/sys/timex.h 2007-12-30 17:34:21.983513096 +0100
4 +++ uClibc-0.9.29/include/sys/timex.h 2007-12-30 17:34:32.180094169 +0100
5 @@ -116,7 +116,8 @@
6
7 __BEGIN_DECLS
8
9 -extern int __adjtimex (struct timex *__ntx) __THROW;
10 +#undef __adjtimex
11 +#define __adjtimex adjtimex
12 extern int adjtimex (struct timex *__ntx) __THROW;
13
14 extern int ntp_gettime (struct ntptimeval *__ntv) __THROW;