libs/gettext: remove unnecessary patch (thanks xMff)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24292 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4d18981865
commit
2871e9f8a6
@ -1,26 +0,0 @@
|
||||
--- a/gettext-tools/gnulib-lib/spawn.in.h
|
||||
+++ b/gettext-tools/gnulib-lib/spawn.in.h
|
||||
@@ -31,8 +31,10 @@
|
||||
|
||||
/* Get definitions of 'struct sched_param' and 'sigset_t'.
|
||||
But avoid namespace pollution on glibc systems. */
|
||||
-#ifndef __GLIBC__
|
||||
+#ifndef __GLIBC__ || __UCLIBC__
|
||||
# include <sched.h>
|
||||
+#endif
|
||||
+#ifndef __GLIBC__
|
||||
# include <signal.h>
|
||||
#endif
|
||||
|
||||
@@ -88,7 +90,11 @@ typedef struct
|
||||
pid_t _pgrp;
|
||||
sigset_t _sd;
|
||||
sigset_t _ss;
|
||||
+#ifdef __UCLIBC__
|
||||
+ struct __sched_param _sp;
|
||||
+#else
|
||||
struct sched_param _sp;
|
||||
+#endif
|
||||
int _policy;
|
||||
int __pad[16];
|
||||
} posix_spawnattr_t;
|
Loading…
x
Reference in New Issue
Block a user