summaryrefslogtreecommitdiff
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-07-11 18:16:32 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-11 18:16:32 +0900
commitb887558afa9c5708330aad97af8669b0b949aba1 (patch)
tree6afb7e9783ab2bf471a88ecfa10fc723ab0949f3 /src/bin/efreet
parentdb64103bf3d78cf6ba6fad06cba8b2d18d50d863 (diff)
efreet: use the correct guard.
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 15ce7b8013..5432de0d74 100644
--- a/src/bin/efreet/efreet_desktop_cache_create.c
+++ b/src/bin/efreet/efreet_desktop_cache_create.c
@@ -5,7 +5,7 @@
5#include <fcntl.h> 5#include <fcntl.h>
6#include <unistd.h> 6#include <unistd.h>
7#include <errno.h> 7#include <errno.h>
8#ifndef _WIN32 8#ifndef HAVE_SYS_RESOURCE_H
9#include <sys/time.h> 9#include <sys/time.h>
10#include <sys/resource.h> 10#include <sys/resource.h>
11#endif 11#endif
@@ -254,7 +254,7 @@ main(int argc, char **argv)
254 } 254 }
255 extra_dirs = eina_list_sort(extra_dirs, -1, EINA_COMPARE_CB(strcmp)); 255 extra_dirs = eina_list_sort(extra_dirs, -1, EINA_COMPARE_CB(strcmp));
256 256
257#ifndef _WIN32 257#ifndef HAVE_SYS_RESOURCE_H
258 setpriority(PRIO_PROCESS, 0, 19); 258 setpriority(PRIO_PROCESS, 0, 19);
259#endif 259#endif
260 260
diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c
index d5b3c9cec0..d650dc3482 100644
--- a/src/bin/efreet/efreet_icon_cache_create.c
+++ b/src/bin/efreet/efreet_icon_cache_create.c
@@ -6,7 +6,7 @@
6#include <fcntl.h> 6#include <fcntl.h>
7#include <unistd.h> 7#include <unistd.h>
8#include <errno.h> 8#include <errno.h>
9#ifndef _WIN32 9#ifndef HAVE_SYS_RESOURCE_H
10#include <sys/time.h> 10#include <sys/time.h>
11#include <sys/resource.h> 11#include <sys/resource.h>
12#endif 12#endif
@@ -772,7 +772,7 @@ main(int argc, char **argv)
772 flush = EINA_TRUE; 772 flush = EINA_TRUE;
773 } 773 }
774 774
775#ifndef _WIN32 775#ifndef HAVE_SYS_RESOURCE_H
776 setpriority(PRIO_PROCESS, 0, 19); 776 setpriority(PRIO_PROCESS, 0, 19);
777#endif 777#endif
778 778
diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index dc71564e15..a1acfef93b 100644
--- a/src/bin/efreet/efreetd.c
+++ b/src/bin/efreet/efreetd.c
@@ -3,7 +3,7 @@
3#endif 3#endif
4 4
5#include <stdlib.h> 5#include <stdlib.h>
6#ifndef _WIN32 6#ifndef HAVE_SYS_RESOURCE_H
7#include <sys/time.h> 7#include <sys/time.h>
8#include <sys/resource.h> 8#include <sys/resource.h>
9#endif 9#endif
@@ -52,7 +52,7 @@ main(int argc, char *argv[])
52 if (!dbus_init()) goto dbus_error; 52 if (!dbus_init()) goto dbus_error;
53 if (!cache_init()) goto cache_error; 53 if (!cache_init()) goto cache_error;
54 54
55#ifndef _WIN32 55#ifndef HAVE_SYS_RESOURCE_H
56 setpriority(PRIO_PROCESS, 0, 19); 56 setpriority(PRIO_PROCESS, 0, 19);
57#endif 57#endif
58 58