summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_JPEG_Image.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx
index 7a0083f7a..b8a52f5c7 100644
--- a/src/Fl_JPEG_Image.cxx
+++ b/src/Fl_JPEG_Image.cxx
@@ -59,10 +59,12 @@ extern "C"
// Custom JPEG error handling structure...
//
+#ifdef HAVE_LIBJPEG
struct fl_jpeg_error_mgr {
jpeg_error_mgr pub_; // Destination manager...
int err_; // Error flag
};
+#endif // HAVE_LIBJPEG
//