Compile modules based on HAVE_* features
[geeqie.git] / src / image-load-ffmpegthumbnailer.cc
index a1334dd..f9a9f62 100644 (file)
@@ -21,9 +21,6 @@
 
 #include "image-load-ffmpegthumbnailer.h"
 
-#include <config.h>
-
-#if HAVE_FFMPEGTHUMBNAILER
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <glib-object.h>
 #include <glib.h>
@@ -31,6 +28,8 @@
 #include <libffmpegthumbnailer/imagetypes.h>
 #include <libffmpegthumbnailer/videothumbnailerc.h> //TODO Use videothumbnailer.h?
 
+#include <config.h>
+
 #include "debug.h"
 #include "filedata.h"
 #include "image-load.h"
@@ -194,5 +193,4 @@ std::unique_ptr<ImageLoaderBackend> get_image_loader_backend_ft()
        return std::make_unique<ImageLoaderFT>();
 }
 
-#endif
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */