mirror of https://github.com/davisking/dlib.git
fix include issue when using libjpeg compiled outside of dlib (#307)
This commit is contained in:
parent
fa8b3767bf
commit
1cfcb4d836
|
@ -10,14 +10,15 @@
|
|||
#include "../pixel.h"
|
||||
#include "save_jpeg.h"
|
||||
#include <stdio.h>
|
||||
#include <sstream>
|
||||
#include <setjmp.h>
|
||||
#include "image_saver.h"
|
||||
|
||||
#ifdef DLIB_JPEG_STATIC
|
||||
# include "../external/libjpeg/jpeglib.h"
|
||||
#else
|
||||
# include <jpeglib.h>
|
||||
#endif
|
||||
#include <sstream>
|
||||
#include <setjmp.h>
|
||||
#include "image_saver.h"
|
||||
|
||||
namespace dlib
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue