Skip to content
Snippets Groups Projects
Commit f527ffa8 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #13994: addressbook: use single-file includes if eds version >= 3.5.3

parent f07feed9
No related branches found
No related tags found
No related merge requests found
...@@ -36,13 +36,17 @@ ...@@ -36,13 +36,17 @@
* as that of the covered work. * as that of the covered work.
*/ */
#include "config.h"
#include <glib.h> #include <glib.h>
#include <string.h> #include <string.h>
#include <pango/pango.h> #include <pango/pango.h>
#include "eds.h" #include "eds.h"
#if EDS_CHECK_VERSION(3,5,3)
#include <libedataserver/libedataserver.h>
#else
#include <libedataserver/e-source.h> #include <libedataserver/e-source.h>
#endif
#include "config.h"
/** /**
* Structure used to store search callback and data * Structure used to store search callback and data
......
...@@ -40,7 +40,14 @@ ...@@ -40,7 +40,14 @@
#include <glib.h> #include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf.h>
#include <libedataserver/eds-version.h>
#if EDS_CHECK_VERSION(3,5,3)
#include <libebook/libebook.h>
#else
#include <libebook/e-book.h> #include <libebook/e-book.h>
#endif
#include "addressbook.h" #include "addressbook.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment