summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/lib/ecore/ecore_main.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6e772a5..1098af5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -545,6 +545,7 @@ realpath \
545strlcpy \ 545strlcpy \
546geteuid \ 546geteuid \
547getuid \ 547getuid \
548pause \
548]) 549])
549 550
550AC_FUNC_ALLOCA 551AC_FUNC_ALLOCA
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index e1ee7b1..b94bd95 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -301,7 +301,11 @@ _ecore_fd_valid(void)
301 if (fcntl(epoll_fd, F_GETFD) < 0) 301 if (fcntl(epoll_fd, F_GETFD) < 0)
302 { 302 {
303 ERR("arghhh you caught me! report a backtrace to edevel!"); 303 ERR("arghhh you caught me! report a backtrace to edevel!");
304#ifdef HAVE_PAUSE
304 pause(); 305 pause();
306#else
307 sleep(60);
308#endif
305 } 309 }
306 } 310 }
307} 311}