diff options
-rw-r--r-- | include/core.h | 2 | ||||
-rw-r--r-- | include/github.h | 2 | ||||
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/github.c | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h index ac9ae2f..1ea9650 100644 --- a/include/core.h +++ b/include/core.h @@ -38,6 +38,8 @@ #include "relocation.h" #include "wheel.h" #include "junitxml.h" +#include "github.h" +#include "template_func_proto.h" #define guard_runtime_free(X) do { if (X) { runtime_free(X); X = NULL; } } while (0) #define guard_strlist_free(X) do { if ((*X)) { strlist_free(X); (*X) = NULL; } } while (0) diff --git a/include/github.h b/include/github.h index eb24753..6c8de98 100644 --- a/include/github.h +++ b/include/github.h @@ -1,6 +1,8 @@ #ifndef STASIS_GITHUB_H #define STASIS_GITHUB_H +#include "core.h" + #define STASIS_GITHUB_API_VERSION "2022-11-28" int get_github_release_notes(const char *api_token, const char *repo, const char *tag, const char *target_commitish, char **output); diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4e76eb6..a7b06f7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,6 +23,7 @@ add_library(stasis_core STATIC docker.c junitxml.c github.c + template_func_proto.c ) add_executable(stasis diff --git a/src/github.c b/src/github.c index d75e84c..4491714 100644 --- a/src/github.c +++ b/src/github.c @@ -1,7 +1,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <curl/curl.h> #include "github.h" struct GHContent { |