diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index ffb651b..bae563f 100644 --- a/src/client.cpp +++ b/src/client.cpp | |||
@@ -3,6 +3,8 @@ | |||
3 | #include <set> | 3 | #include <set> |
4 | #include <algorithm> | 4 | #include <algorithm> |
5 | #include <liboauthcpp/liboauthcpp.h> | 5 | #include <liboauthcpp/liboauthcpp.h> |
6 | #include <curl_easy.h> | ||
7 | #include <curl_header.h> | ||
6 | #include "util.h" | 8 | #include "util.h" |
7 | #include <json.hpp> | 9 | #include <json.hpp> |
8 | 10 | ||
@@ -727,7 +729,7 @@ namespace twitter { | |||
727 | } | 729 | } |
728 | } | 730 | } |
729 | 731 | ||
730 | int client::stream::write(char* ptr, size_t size, size_t nmemb) | 732 | size_t client::stream::write(char* ptr, size_t size, size_t nmemb) |
731 | { | 733 | { |
732 | for (size_t i = 0; i < size*nmemb; i++) | 734 | for (size_t i = 0; i < size*nmemb; i++) |
733 | { | 735 | { |