diff options
author | Ondrej Holy <oholy@redhat.com> | 2014-10-17 09:20:50 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2014-10-17 13:56:40 +0200 |
commit | e3fab1313117d8fefc98976b8c97d0f98cbb1819 (patch) | |
tree | b4cf2ea37940258d9c95d462811b27f8914c6518 | |
parent | d02b563ead89278fadbc52a37e4e59e06f15292f (diff) | |
download | gvfs-e3fab1313117d8fefc98976b8c97d0f98cbb1819.tar.gz |
gphoto2: include gvfsgphoto2utils.h conditionally
gvfsgphoto2utils.h causes build failure if gudev isn't available thus
include the header conditionally.
https://bugzilla.gnome.org/show_bug.cgi?id=736285
-rw-r--r-- | daemon/gvfsbackendgphoto2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendgphoto2.c b/daemon/gvfsbackendgphoto2.c index 39c4f77b..90d8dd92 100644 --- a/daemon/gvfsbackendgphoto2.c +++ b/daemon/gvfsbackendgphoto2.c @@ -38,6 +38,7 @@ #include <gphoto2.h> #ifdef HAVE_GUDEV #include <gudev/gudev.h> + #include "gvfsgphoto2utils.h" #elif defined(HAVE_HAL) #include <libhal.h> #include <dbus/dbus.h> @@ -62,7 +63,6 @@ #include "gvfsmonitor.h" #include "gvfsjobseekwrite.h" #include "gvfsicon.h" -#include "gvfsgphoto2utils.h" /* showing debug traces */ #if 1 |