please move E_Dbus.h after Ecore.h (for Windows). I recall the order of headers:
config.h standard headers EFL ones other than those of the compiled lib Those of the compiled lib It follows a classic scheme : order them by dependency... Vincent On Fri, Jul 27, 2012 at 6:08 PM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > edbus: fix async_*_test compile. > > we must use the proper cflags/libs and also include the local copy of > E_DBus.h, not the global. Also including config.h is nice. > > > > > Author: barbieri > Date: 2012-07-27 09:08:00 -0700 (Fri, 27 Jul 2012) > New Revision: 74511 > Trac: http://trac.enlightenment.org/e/changeset/74511 > > Modified: > trunk/e_dbus/src/bin/Makefile.am trunk/e_dbus/src/bin/async_client_test.c > trunk/e_dbus/src/bin/async_server_test.c > > Modified: trunk/e_dbus/src/bin/Makefile.am > =================================================================== > --- trunk/e_dbus/src/bin/Makefile.am 2012-07-27 16:02:44 UTC (rev 74510) > +++ trunk/e_dbus/src/bin/Makefile.am 2012-07-27 16:08:00 UTC (rev 74511) > @@ -82,18 +82,18 @@ > e_dbus_async_server_test_SOURCES = async_server_test.c > e_dbus_async_server_test_CPPFLAGS = \ > -I$(top_srcdir)/src/lib/dbus \ > -@EDBUS_TEST_CLIENT_CFLAGS@ > +@EDBUS_ASYNC_TEST_CFLAGS@ > e_dbus_async_server_test_LDADD = \ > $(top_builddir)/src/lib/dbus/libedbus.la \ > -@EDBUS_TEST_CLIENT_LIBS@ > +@EDBUS_ASYNC_TEST_LIBS@ > > e_dbus_async_client_test_SOURCES = async_client_test.c > e_dbus_async_client_test_CPPFLAGS = \ > -I$(top_srcdir)/src/lib/dbus \ > -@EDBUS_TEST_CLIENT_CFLAGS@ > +@EDBUS_ASYNC_TEST_CFLAGS@ > e_dbus_async_client_test_LDADD = \ > $(top_builddir)/src/lib/dbus/libedbus.la \ > -@EDBUS_TEST_CLIENT_LIBS@ > +@EDBUS_ASYNC_TEST_LIBS@ > endif > > if BUILD_EDBUS_BLUEZ_TEST > > Modified: trunk/e_dbus/src/bin/async_client_test.c > =================================================================== > --- trunk/e_dbus/src/bin/async_client_test.c 2012-07-27 16:02:44 UTC (rev > 74510) > +++ trunk/e_dbus/src/bin/async_client_test.c 2012-07-27 16:08:00 UTC (rev > 74511) > @@ -1,4 +1,8 @@ > -#include <E_DBus.h> > +#ifdef HAVE_CONFIG_H > +#include "config.h" > +#endif > + > +#include "E_DBus.h" > #include <Ecore.h> > > #define DBUS_NAME "com.profusion" > > Modified: trunk/e_dbus/src/bin/async_server_test.c > =================================================================== > --- trunk/e_dbus/src/bin/async_server_test.c 2012-07-27 16:02:44 UTC (rev > 74510) > +++ trunk/e_dbus/src/bin/async_server_test.c 2012-07-27 16:08:00 UTC (rev > 74511) > @@ -1,4 +1,8 @@ > -#include <E_DBus.h> > +#ifdef HAVE_CONFIG_H > +#include "config.h" > +#endif > + > +#include "E_DBus.h" > #include <Ecore.h> > > #define DBUS_NAME "com.profusion" > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel