summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo de Barros Lima <eblima@gmail.com>2013-01-10 14:27:38 +0000
committerEduardo de Barros Lima <eblima@gmail.com>2013-01-10 14:27:38 +0000
commit843df1a582d86d84d21ea7d2af58dcd90275ff39 (patch)
tree46d61d6a3ec0f3fc502e8e4abbec99e1b0d1188a
parent1721b414d32e427ad0c375aa049597e837132bc8 (diff)
dlopen and friends are now required by elm_need_e_dbus(), remove HAVE_FORK conditional to include the header.
Build was broken with the following message: elm_main.c: In function 'elm_need_e_dbus': elm_main.c:372:4: warning: implicit declaration of function 'dlopen' [-Wimplicit-function-declaration] elm_main.c:372:46: error: 'RTLD_LAZY' undeclared (first use in this function) elm_main.c:372:46: note: each undeclared identifier is reported only once for each function it appears in elm_main.c:372:58: error: 'RTLD_GLOBAL' undeclared (first use in this function) elm_main.c:374:4: warning: implicit declaration of function 'dlsym' [-Wimplicit-function-declaration] elm_main.c:374:14: warning: assignment makes pointer from integer without a cast [enabled by default] elm_main.c: In function '_elm_unneed_e_dbus': elm_main.c:387:18: warning: assignment makes pointer from integer without a cast [enabled by default] elm_main.c:392:4: warning: implicit declaration of function 'dlclose' [-Wimplicit-function-declaration] I wonder if this is correct for other platforms other than linux?? SVN revision: 82573
-rw-r--r--src/lib/elm_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index bb1c3594e..1a89e8818 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -2,9 +2,7 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4 4
5#ifdef HAVE_FORK
6#include <dlfcn.h> /* dlopen,dlclose,etc */ 5#include <dlfcn.h> /* dlopen,dlclose,etc */
7#endif
8 6
9#ifdef HAVE_CRT_EXTERNS_H 7#ifdef HAVE_CRT_EXTERNS_H
10# include <crt_externs.h> 8# include <crt_externs.h>