fix windows compile, it's possible the linux build broke and will need misc tweaks...
[xonotic/netradiant.git] / plugins / image / jpeg.cpp
index 29b0f63f8f5c74c2bdf38297871b393a82801ead..66df32ffd0caf4c883871f14069811be85cae18f 100644 (file)
@@ -34,14 +34,16 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 // Leonardo Zide (leo@lokigames.com)
 //
 
+#include <stdio.h>
 #include <setjmp.h>
 #include <stdlib.h>
-#include <stdio.h>
 #include <string.h>
 #include <glib.h>
 
+extern "C" {
 #include <jpeglib.h>
 #include <jerror.h>
+}
 
 #include "image.h"