summaryrefslogtreecommitdiff
path: root/src/Fl_JPEG_Image.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-02-24 20:28:49 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-02-24 20:28:49 +0000
commitc2873e6c63ace3c1d873ee12d56cd7eefb2b88f7 (patch)
tree71f0ca1e5683e23113639f928fea2dac894df325 /src/Fl_JPEG_Image.cxx
parent3ee9c501802f598eadf1e3d7bc67e2e10af47d71 (diff)
Fix builds without JPEG library...
src/Fl_JPEG_Image.cxx: - Surround FLTK JPEG state structure with #ifdef... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_JPEG_Image.cxx')
-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
//