Mercurial > hg > aboriginal
view sources/patches/uClibc-schedparam.patch @ 1458:60f1087591ac
Add ability to specify a package to rebuild to build.sh with REBUILD= (and then dependencies take it from there to the system image).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 20 Oct 2011 02:02:10 -0500 |
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 \