forked from tastytea/libravatarserv
Include only necessary Magick++-headers.
This commit is contained in:
parent
785cd7a35f
commit
3bdcd7b120
|
@ -121,7 +121,7 @@ void http::send_redirect(const Request &request)
|
||||||
const char *env = std::getenv("HTTPS");
|
const char *env = std::getenv("HTTPS");
|
||||||
string baseurl;
|
string baseurl;
|
||||||
if (env != nullptr && env[1] == 'n')
|
if (env != nullptr && env[1] == 'n')
|
||||||
{
|
{ // "on"
|
||||||
baseurl = "https://seccdn.libravatar.org";
|
baseurl = "https://seccdn.libravatar.org";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <Magick++/Geometry.h>
|
||||||
|
#include <Magick++/Color.h>
|
||||||
|
#include <Magick++/Exception.h>
|
||||||
#include "libravatarserv.hpp"
|
#include "libravatarserv.hpp"
|
||||||
|
|
||||||
using std::cout;
|
using std::cout;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <Magick++/Geometry.h>
|
||||||
#include "version.hpp"
|
#include "version.hpp"
|
||||||
#include "libravatarserv.hpp"
|
#include "libravatarserv.hpp"
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#endif
|
#endif
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <Magick++.h>
|
#include <Magick++/Image.h>
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
#if __cplusplus >= 201703L
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
|
|
Loading…
Reference in New Issue