--- a/src/hugin_base/panodata/SrcPanoImage.h
+++ b/src/hugin_base/panodata/SrcPanoImage.h
@@ -46,10 +46,6 @@
 #include "PanoramaVariable.h"
 #include "ImageVariable.h"
 #include "Mask.h"
-
-#ifdef HUGIN_USE_EXIV2
-#include <exiv2/exif.hpp>
-#endif
 
 #endif // _HSI_IGNORE_SECTION