Commit 1cfcb4d8 authored by caseymcc's avatar caseymcc Committed by Davis E. King

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

parent fa8b3767
...@@ -10,14 +10,15 @@ ...@@ -10,14 +10,15 @@
#include "../pixel.h" #include "../pixel.h"
#include "save_jpeg.h" #include "save_jpeg.h"
#include <stdio.h> #include <stdio.h>
#include <sstream>
#include <setjmp.h>
#include "image_saver.h"
#ifdef DLIB_JPEG_STATIC #ifdef DLIB_JPEG_STATIC
# include "../external/libjpeg/jpeglib.h" # include "../external/libjpeg/jpeglib.h"
#else #else
# include <jpeglib.h> # include <jpeglib.h>
#endif #endif
#include <sstream>
#include <setjmp.h>
#include "image_saver.h"
namespace dlib namespace dlib
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment