diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/ClashAvoider.cpp | 1 | ||||
-rw-r--r-- | src/shared/HTTPSender.cpp | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index 408f303a..18ee7d99 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -15,6 +15,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <cstdio> #include <sstream> #include "ClashAvoider.hpp" #include "Store.hpp" diff --git a/src/shared/HTTPSender.cpp b/src/shared/HTTPSender.cpp index d8436ca8..971fdef1 100644 --- a/src/shared/HTTPSender.cpp +++ b/src/shared/HTTPSender.cpp @@ -15,8 +15,10 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "HTTPSender.hpp" + #include <cassert> +#include <cstdio> +#include <cstring> #include <iostream> #include <unistd.h> #include <stdarg.h> @@ -24,8 +26,7 @@ #include <sys/types.h> #include <netinet/in.h> #include <errno.h> - -#include <cstring> +#include "HTTPSender.hpp" using namespace std; |