diff --git a/src/input/Error.cxx b/src/input/Error.cxx index d7b59d133..f7d6849c2 100644 --- a/src/input/Error.cxx +++ b/src/input/Error.cxx @@ -22,7 +22,7 @@ #include "config.h" #ifdef ENABLE_CURL -#include "lib/curl/Error.hxx" +#include "lib/curl/HttpStatusError.hxx" #endif #ifdef ENABLE_NFS diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 3434c4d30..a4ca18e07 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -18,7 +18,7 @@ */ #include "CurlInputPlugin.hxx" -#include "lib/curl/Error.hxx" +#include "lib/curl/HttpStatusError.hxx" #include "lib/curl/Global.hxx" #include "lib/curl/Init.hxx" #include "lib/curl/Request.hxx" diff --git a/src/lib/curl/Error.hxx b/src/lib/curl/HttpStatusError.hxx similarity index 95% rename from src/lib/curl/Error.hxx rename to src/lib/curl/HttpStatusError.hxx index a00f64aee..fbd9641ac 100644 --- a/src/lib/curl/Error.hxx +++ b/src/lib/curl/HttpStatusError.hxx @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef CURL_ERROR_HXX -#define CURL_ERROR_HXX +#pragma once #include @@ -38,5 +37,3 @@ public: return status; } }; - -#endif