Mercurial > hg > aboriginal
view sources/patches/uClibc-schedparam.patch @ 1274:b41dbea3ba14
When building control images, the working directory should be in build/control-images.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Nov 2010 15:54:37 -0600 |
parents | 30bab195be94 |
children |
line wrap: on
line source
diff -ru uClibc/libc/sysdeps/linux/common/bits/sched.h uClibc.bak/libc/sysdeps/linux/common/bits/sched.h --- uClibc/libc/sysdeps/linux/common/bits/sched.h 2010-04-02 10:34:27.000000000 -0500 +++ uClibc.bak/libc/sysdeps/linux/common/bits/sched.h 2010-10-15 13:38:43.000000000 -0500 @@ -61,6 +61,7 @@ # define CLONE_STOPPED 0x02000000 /* Start in stopped state. */ #endif +#undef sched_param /* The official definition. */ struct sched_param { @@ -82,6 +83,8 @@ __END_DECLS +#else +#define sched_param __sched_param #endif /* need schedparam */ #if !defined __defined_schedparam \