aboutsummaryrefslogtreecommitdiff
path: root/control
diff options
context:
space:
mode:
Diffstat (limited to 'control')
-rwxr-xr-xcontrol/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/control/shell.c b/control/shell.c
index ad989be..64cd6d8 100755
--- a/control/shell.c
+++ b/control/shell.c
@@ -27,7 +27,7 @@ static t_class *shell_class;
static void drop_priority(void)
{
-#ifdef _POSIX_PRIORITY_SCHEDULING
+#if (_POSIX_PRIORITY_SCHEDULING - 0) >= 200112L
struct sched_param par;
int p1 ,p2, p3;
par.sched_priority = 0;