diff --git a/main.cpp b/main.cpp index 9c32ba6..142b187 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,7 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include using namespace std; struct Input { @@ -37,6 +38,7 @@ input_data(istream& in, bool prompt){ int main() { + curl_global_init(CURL_GLOBAL_ALL); auto in = input_data(cin, true); auto bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins);