Include only necessary Magick++-headers.

This commit is contained in:
tastytea 2018-12-01 11:30:05 +01:00
parent 785cd7a35f
commit 3bdcd7b120
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
4 changed files with 6 additions and 2 deletions

View File

@ -121,7 +121,7 @@ void http::send_redirect(const Request &request)
const char *env = std::getenv("HTTPS");
string baseurl;
if (env != nullptr && env[1] == 'n')
{
{ // "on"
baseurl = "https://seccdn.libravatar.org";
}
else

View File

@ -18,6 +18,9 @@
#include <sstream>
#include <array>
#include <algorithm>
#include <Magick++/Geometry.h>
#include <Magick++/Color.h>
#include <Magick++/Exception.h>
#include "libravatarserv.hpp"
using std::cout;

View File

@ -15,6 +15,7 @@
*/
#include <iostream>
#include <Magick++/Geometry.h>
#include "version.hpp"
#include "libravatarserv.hpp"

View File

@ -24,7 +24,7 @@
#endif
#include <string>
#include <map>
#include <Magick++.h>
#include <Magick++/Image.h>
#if __cplusplus >= 201703L
namespace fs = std::filesystem;