From 2db8bcc353ce4360a6dbe4c73afcaae1c27fce43 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 12 Mar 2020 16:46:28 -0700 Subject: replace stddef.h with cstddef The former is deprecated with C++14. The standard says both are the same: The contents and meaning of the headerare the same as the C standard library header,except that it does not declare the type wchar_t, that it also declares the type byte and its associated operations (21.2.5), and as noted in 21.2.3 and 21.2.4. Signed-off-by: Rosen Penev --- src/client/Client.hxx | 7 +++---- src/client/Response.hxx | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src/client') diff --git a/src/client/Client.hxx b/src/client/Client.hxx index c94350b51..b9692ab48 100644 --- a/src/client/Client.hxx +++ b/src/client/Client.hxx @@ -31,12 +31,11 @@ #include #include -#include -#include +#include #include #include - -#include +#include +#include class SocketAddress; class UniqueSocketDescriptor; diff --git a/src/client/Response.hxx b/src/client/Response.hxx index b2c72cf48..437ee69ef 100644 --- a/src/client/Response.hxx +++ b/src/client/Response.hxx @@ -24,8 +24,7 @@ #include "util/Compiler.h" #include - -#include +#include template struct ConstBuffer; class Client; -- cgit v1.2.3