aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-post.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-04-17 11:09:46 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-15 09:05:27 +0200
commit8945d6c3aa8695d8ad50d4d15041dea6f2c01ba7 (patch)
tree1f45917d05d3269b64d8a9626d872fc3cf26e753 /mod/mod-ci-github-post.hxx
parent4cb7c6d60906ca4600843766c1dfbc533caa6d7e (diff)
Get restructure to compile
Diffstat (limited to 'mod/mod-ci-github-post.hxx')
-rw-r--r--mod/mod-ci-github-post.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/mod-ci-github-post.hxx b/mod/mod-ci-github-post.hxx
index f1ed914..d278ae0 100644
--- a/mod/mod-ci-github-post.hxx
+++ b/mod/mod-ci-github-post.hxx
@@ -7,6 +7,8 @@
#include <libbrep/types.hxx>
#include <libbrep/utility.hxx>
+#include <libbutl/curl.hxx>
+
namespace brep
{
// Send a POST request to the GitHub API endpoint `ep`, parse GitHub's JSON
@@ -29,6 +31,8 @@ namespace brep
const strings& hdrs,
const string& body = "")
{
+ using namespace butl;
+
// Convert the header values to curl header option/value pairs.
//
strings hdr_opts;