From cdea9154ff180e95dfbdd8e0647922ca8afa3d46 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 May 2016 11:30:28 -0400 Subject: Projects using libtwitter++ no longer have to include its dependencies --- src/client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client.cpp') 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 @@ #include #include #include +#include +#include #include "util.h" #include @@ -727,7 +729,7 @@ namespace twitter { } } - int client::stream::write(char* ptr, size_t size, size_t nmemb) + size_t client::stream::write(char* ptr, size_t size, size_t nmemb) { for (size_t i = 0; i < size*nmemb; i++) { -- cgit 1.4.1