diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2022-08-09 11:16:39 +0200 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2022-08-09 11:43:42 +0200 |
commit | b55a7aad46554658916e57c28e024fa34e0b1e82 (patch) | |
tree | 130ffb56ab5e8184e543e23a1dce25f0d45c8ec9 /rest/rest.h | |
parent | c7d7f8e8fed38fee172d46705f50118ec9549fe1 (diff) | |
download | librest-b55a7aad46554658916e57c28e024fa34e0b1e82.tar.gz |
Make the single-header usable
The pkg-config is only declaring the rest-1.0 directory so we always need to use
rest/rest-foo.h and not rest-foo.h
Also make sure to include all the headers.
Diffstat (limited to 'rest/rest.h')
-rw-r--r-- | rest/rest.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/rest/rest.h b/rest/rest.h index 0c4afbb..4dbd135 100644 --- a/rest/rest.h +++ b/rest/rest.h @@ -25,11 +25,18 @@ G_BEGIN_DECLS #define REST_INSIDE -# include "rest-proxy.h" -# include "rest-proxy-call.h" -# include "rest-oauth2-proxy.h" -# include "rest-utils.h" -# include "rest-pkce-code-challenge.h" +# include <rest/rest-oauth2-proxy.h> +# include <rest/rest-oauth2-proxy-call.h> +# include <rest/rest-param.h> +# include <rest/rest-params.h> +# include <rest/rest-pkce-code-challenge.h> +# include <rest/rest-pkce-code-challenge.h> +# include <rest/rest-proxy.h> +# include <rest/rest-proxy-auth.h> +# include <rest/rest-proxy-call.h> +# include <rest/rest-utils.h> +# include <rest/rest-xml-node.h> +# include <rest/rest-xml-parser.h> #undef REST_INSIDE G_END_DECLS |