summaryrefslogtreecommitdiff
path: root/src/process_url.c
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-07 15:45:26 +0800
committerMole Shang <[email protected]>2023-08-07 15:47:37 +0800
commite164824b802f9190055d338446a2d8a251efabe1 (patch)
tree1ed1b0799084e069a62e0eed8c05e08994ff5ef2 /src/process_url.c
parent93395705c40265c1893efd550b0f8404158eb86c (diff)
downloadhinata-e164824b802f9190055d338446a2d8a251efabe1.tar.gz
hinata-e164824b802f9190055d338446a2d8a251efabe1.tar.bz2
hinata-e164824b802f9190055d338446a2d8a251efabe1.zip
utils: split type definition code into utils/types
Diffstat (limited to 'src/process_url.c')
-rw-r--r--src/process_url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_url.c b/src/process_url.c
index f99c717..bba3c53 100644
--- a/src/process_url.c
+++ b/src/process_url.c
@@ -1,4 +1,3 @@
-#include "utils/utils.h"
#include <curl/curl.h>
#include <curl/easy.h>
#include <curl/header.h>
@@ -21,6 +20,8 @@
#include "extractors/extractor.h"
#include "logger.h"
#include "process_url.h"
+#include "utils/utils.h"
+#include "utils/types.h"
/* NOTICE: the global curl_conf pointer will only stay valid during downloading,
* otherwise, ALWAYS point it to NULL. */