ecore: fix ecore build without thread support and mmap.

SVN revision: 68418
This commit is contained in:
Cedric BAIL 2012-02-24 15:14:10 +00:00
parent 37a231afae
commit 22ed9fcfab
2 changed files with 3 additions and 2 deletions

View File

@ -1073,7 +1073,6 @@ on_error:
*/
worker.u.feedback_run.func_heavy = func_heavy;
worker.u.feedback_run.func_notify = func_notify;
worker.u.feedback_run.notify = NULL;
worker.u.feedback_run.send = 0;
worker.u.feedback_run.received = 0;
worker.func_cancel = func_cancel;

View File

@ -8,7 +8,9 @@
#include <unistd.h>
#include <math.h>
#include <time.h>
#include <sys/mman.h>
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>