summaryrefslogtreecommitdiff
path: root/src/stable_diffusion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable_diffusion.cpp')
-rw-r--r--src/stable_diffusion.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stable_diffusion.cpp b/src/stable_diffusion.cpp
index 4da327d..c047594 100644
--- a/src/stable_diffusion.cpp
+++ b/src/stable_diffusion.cpp
@@ -1,3 +1,7 @@
+#if SPECIAL
+#include "main.h"
+#endif
+
struct curl_data {
char *response;
size_t size;
@@ -118,7 +122,7 @@ JSON_AppendParam_String(char *String, uint64 *i, char *P1, char *P2)
}
static void
-SD_AssembleJSON(sd_state *SD, char *JSONPayload, void *Base64Bitmap = NULL)
+SD_AssembleJSON(sd_state *SD, char *JSONPayload, void *Base64Bitmap)
{
Arbitrary_Zero((uint8 *)JSONPayload, 1024);
// char CurlCommand[1024];