Mercurial > hg > orthanc-databases
diff Framework/PostgreSQL/PostgreSQLResult.cpp @ 103:9263b3de37ed
fix build on Debian Buster
author | jodogne |
---|---|
date | Tue, 22 Jan 2019 13:14:52 +0000 |
parents | 714c5d2bee76 |
children | eefbcee7bd78 |
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLResult.cpp Mon Jan 21 17:34:50 2019 +0100 +++ b/Framework/PostgreSQL/PostgreSQLResult.cpp Tue Jan 22 13:14:52 2019 +0000 @@ -19,6 +19,7 @@ **/ +#include "PostgreSQLIncludes.h" #include "PostgreSQLResult.h" #include "../Common/BinaryStringValue.h" @@ -27,26 +28,13 @@ #include "../Common/NullValue.h" #include "../Common/Utf8StringValue.h" -#include <pg_config.h> - -#if PG_VERSION_NUM >= 110000 -# include <postgres.h> -# undef LOG // This one comes from <postgres.h>, and conflicts with <Core/Logging.h> -#endif - #include <Core/OrthancException.h> #include <Core/Logging.h> +#include <Core/Endianness.h> #include <cassert> #include <boost/lexical_cast.hpp> -// PostgreSQL includes -#include <libpq-fe.h> -#include <c.h> -#include <catalog/pg_type.h> - -#include <Core/Endianness.h> - namespace OrthancDatabases {