efreet: use the correct guard.

This commit is contained in:
Cedric Bail 2013-07-11 18:16:32 +09:00
parent db64103bf3
commit b887558afa
3 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#ifndef _WIN32
#ifndef 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 _WIN32
#ifndef HAVE_SYS_RESOURCE_H
setpriority(PRIO_PROCESS, 0, 19);
#endif

View File

@ -6,7 +6,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#ifndef _WIN32
#ifndef 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 _WIN32
#ifndef HAVE_SYS_RESOURCE_H
setpriority(PRIO_PROCESS, 0, 19);
#endif

View File

@ -3,7 +3,7 @@
#endif
#include <stdlib.h>
#ifndef _WIN32
#ifndef 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 _WIN32
#ifndef HAVE_SYS_RESOURCE_H
setpriority(PRIO_PROCESS, 0, 19);
#endif