aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-07-01 00:46:29 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-07-01 00:46:29 -0400
commite34a676b178dbf2b9af37a187704fa0e7c554920 (patch)
tree0ae2c862493d53fc759395fe98ff3372defeef12
parentb4199ed70fe89f2f986d4b475604877e3a2e37b5 (diff)
downloadstasis-e34a676b178dbf2b9af37a187704fa0e7c554920.tar.gz
Fix circular include
* Github functions do not require access to core.h anyway
-rw-r--r--include/github.h2
-rw-r--r--src/github.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/github.h b/include/github.h
index 6c8de98..cebeabf 100644
--- a/include/github.h
+++ b/include/github.h
@@ -1,7 +1,7 @@
#ifndef STASIS_GITHUB_H
#define STASIS_GITHUB_H
-#include "core.h"
+#include <curl/curl.h>
#define STASIS_GITHUB_API_VERSION "2022-11-28"
diff --git a/src/github.c b/src/github.c
index 3b36439..36e2e7c 100644
--- a/src/github.c
+++ b/src/github.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "github.h"
+#include "core.h"
struct GHContent {
char *data;