jpeglib.h should be included via extern "C".


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@28 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/TightDecoder.cxx b/rfb/TightDecoder.cxx
index aa2c675..a082820 100644
--- a/rfb/TightDecoder.cxx
+++ b/rfb/TightDecoder.cxx
@@ -19,7 +19,9 @@
 #include <rfb/CMsgHandler.h>
 #include <rfb/TightDecoder.h>
 #include <stdio.h> /* jpeglib.h needs FILE */
+extern "C" {
 #include <jpeglib.h>
+}
 
 using namespace rfb;