fix include issue when using libjpeg compiled outside of dlib (#307)

This commit is contained in:
caseymcc 2016-10-28 14:15:55 -05:00 committed by Davis E. King
parent fa8b3767bf
commit 1cfcb4d836
1 changed files with 4 additions and 3 deletions

View File

@ -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
{