diff options
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimagejpeg.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/llimage/llimagejpeg.h b/indra/llimage/llimagejpeg.h index b068090882..a94f238ff0 100644 --- a/indra/llimage/llimagejpeg.h +++ b/indra/llimage/llimagejpeg.h @@ -14,8 +14,13 @@ #include "llimage.h" extern "C" { -#include "jpeglib/jpeglib.h" -#include "jpeglib/jerror.h" +#ifdef LL_STANDALONE +# include <jpeglib.h> +# include <jerror.h> +#else +# include "jpeglib/jpeglib.h" +# include "jpeglib/jerror.h" +#endif } class LLImageJPEG : public LLImageFormatted |