--- a/Source/LibRawLite/src/libraw_cxx.cpp
+++ b/Source/LibRawLite/src/libraw_cxx.cpp
@@ -51,6 +51,8 @@
 #include "dng_simple_image.h"
 #include "dng_info.h"
 #endif
+
+#include "swab.h"
 
 #include "libraw_fuji_compressed.cpp"
