about summary refs log tree commit diff stats
path: root/src/client.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-21 11:30:28 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-21 11:30:28 -0400
commitcdea9154ff180e95dfbdd8e0647922ca8afa3d46 (patch)
treeb9afec2087c64903bf28e9ddc9253573bb10a0fd /src/client.cpp
parent4bcf6d116b92f5969714602ed082ff2a7263edde (diff)
downloadlibtwittercpp-cdea9154ff180e95dfbdd8e0647922ca8afa3d46.tar.gz
libtwittercpp-cdea9154ff180e95dfbdd8e0647922ca8afa3d46.tar.bz2
libtwittercpp-cdea9154ff180e95dfbdd8e0647922ca8afa3d46.zip
Projects using libtwitter++ no longer have to include its dependencies
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
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 {