aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-07-11 18:22:38 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-11 18:22:38 +0900
commit83de2e25cad4aed84047273120fa780f7d80df19 (patch)
tree1c89ba19da31d46faac264a10d86969b26312b1f /src/bin/efreet
parentefreet: use the correct guard. (diff)
downloadefl-83de2e25cad4aed84047273120fa780f7d80df19.tar.gz
efreet: it should be a #ifdef now...
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreet_desktop_cache_create.c4
-rw-r--r--src/bin/efreet/efreet_icon_cache_create.c4
-rw-r--r--src/bin/efreet/efreetd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/efreet/efreet_desktop_cache_create.c b/src/bin/efreet/efreet_desktop_cache_create.c
index 5432de0d74..e44b725666 100644
--- a/src/bin/efreet/efreet_desktop_cache_create.c
+++ b/src/bin/efreet/efreet_desktop_cache_create.c
@@ -5,7 +5,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
-#ifndef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -254,7 +254,7 @@ main(int argc, char **argv)
}
extra_dirs = eina_list_sort(extra_dirs, -1, EINA_COMPARE_CB(strcmp));
-#ifndef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
setpriority(PRIO_PROCESS, 0, 19);
#endif
diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c
index d650dc3482..3c3bc23404 100644
--- a/src/bin/efreet/efreet_icon_cache_create.c
+++ b/src/bin/efreet/efreet_icon_cache_create.c
@@ -6,7 +6,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
-#ifndef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -772,7 +772,7 @@ main(int argc, char **argv)
flush = EINA_TRUE;
}
-#ifndef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
setpriority(PRIO_PROCESS, 0, 19);
#endif
diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index a1acfef93b..92282642cb 100644
--- a/src/bin/efreet/efreetd.c
+++ b/src/bin/efreet/efreetd.c
@@ -3,7 +3,7 @@
#endif
#include <stdlib.h>
-#ifndef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -52,7 +52,7 @@ main(int argc, char *argv[])
if (!dbus_init()) goto dbus_error;
if (!cache_init()) goto cache_error;
-#ifndef HAVE_SYS_RESOURCE_H
+#ifdef HAVE_SYS_RESOURCE_H
setpriority(PRIO_PROCESS, 0, 19);
#endif