--- fldigi-3.10/src/widgets/picture.cxx	2009-01-05 12:01:07.000000000 -0700
+++ fldigi-3.10/src/widgets/picture.cxx.new	2009-02-04 08:27:36.014121316 -0700
@@ -32,7 +32,9 @@
 
 #if USE_LIBJPEG
 #  include <cstdio>
-#  include <jpeglib.h>
+extern "C" {
+	#  include <jpeglib.h>
+}
 #endif
 #if USE_LIBPNG
 #  include <png.h>
