[Xfce4-commits] <tumbler:master> Fix ifdef. Since we include syscall.h we need to use HAVE_SYSCALL_H.
Jannis Pohlmann
noreply at xfce.org
Thu Oct 8 15:10:02 CEST 2009
Updating branch refs/heads/master
to b71b81fc102c2469af44290db6bd131d29f4ab26 (commit)
from 5bee7fc98468c3788ea3a60f26452a494dade6e1 (commit)
commit b71b81fc102c2469af44290db6bd131d29f4ab26
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Thu Oct 8 15:08:12 2009 +0200
Fix ifdef. Since we include syscall.h we need to use HAVE_SYSCALL_H.
tumblerd/tumbler-scheduler.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tumblerd/tumbler-scheduler.c b/tumblerd/tumbler-scheduler.c
index 2897e3d..1390515 100644
--- a/tumblerd/tumbler-scheduler.c
+++ b/tumblerd/tumbler-scheduler.c
@@ -292,7 +292,7 @@ tumbler_scheduler_request_compare (gconstpointer a,
static int
ioprio_set (int which, int who, int ioprio_val)
{
-#if defined(__NR_ioprio_set) && defined(HAVE_SYS_SYSCALL_H)
+#if defined(__NR_ioprio_set) && defined(HAVE_SYSCALL_H)
return syscall (__NR_ioprio_set, which, who, ioprio_val);
#else
return 0;
More information about the Xfce4-commits
mailing list