MinGW seems to barf unless jinclude.h is included before jpeglib.h
This commit is contained in:
2
bmp.c
2
bmp.c
@@ -30,9 +30,9 @@
|
||||
#include <string.h>
|
||||
#include <setjmp.h>
|
||||
#include <errno.h>
|
||||
#include "cdjpeg.h"
|
||||
#include <jpeglib.h>
|
||||
#include <jpegint.h>
|
||||
#include "cdjpeg.h"
|
||||
#include "tjutil.h"
|
||||
#include "bmp.h"
|
||||
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <jinclude.h>
|
||||
#define JPEG_INTERNALS
|
||||
#include <jpeglib.h>
|
||||
#include <jerror.h>
|
||||
#include <setjmp.h>
|
||||
#include <jinclude.h>
|
||||
#include "./turbojpeg.h"
|
||||
#include "./tjutil.h"
|
||||
#include "transupp.h"
|
||||
|
||||
Reference in New Issue
Block a user