summaryrefslogtreecommitdiff
path: root/tumblerd/tumbler-scheduler.c
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-10-08 15:08:12 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-10-08 15:08:12 +0200
commitb71b81fc102c2469af44290db6bd131d29f4ab26 (patch)
tree2225b8a9d213a6dcf17c113223688ed4294c4e23 /tumblerd/tumbler-scheduler.c
parent5bee7fc98468c3788ea3a60f26452a494dade6e1 (diff)
downloadtumbler-b71b81fc102c2469af44290db6bd131d29f4ab26.tar.gz
Fix ifdef. Since we include syscall.h we need to use HAVE_SYSCALL_H.
Diffstat (limited to 'tumblerd/tumbler-scheduler.c')
-rw-r--r--tumblerd/tumbler-scheduler.c2
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;