Commit dbdf782e authored by Max Kellermann's avatar Max Kellermann

net/{Resolver,HostParser}: include <cstring>

Fixup after e4dad42c
parent f102cbb6
/* /*
* Copyright 2007-2018 Content Management AG * Copyright 2007-2020 CM4all GmbH
* All rights reserved. * All rights reserved.
* *
* author: Max Kellermann <mk@cm4all.com> * author: Max Kellermann <mk@cm4all.com>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "HostParser.hxx" #include "HostParser.hxx"
#include "util/CharUtil.hxx" #include "util/CharUtil.hxx"
#include <string.h> #include <cstring>
static inline bool static inline bool
IsValidHostnameChar(char ch) noexcept IsValidHostnameChar(char ch) noexcept
......
/* /*
* Copyright 2007-2018 Content Management AG * Copyright 2007-2020 CM4all GmbH
* All rights reserved. * All rights reserved.
* *
* author: Max Kellermann <mk@cm4all.com> * author: Max Kellermann <mk@cm4all.com>
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
#endif #endif
#include <cerrno> #include <cerrno>
#include <cstring>
#include <string.h>
#include <stdio.h> #include <stdio.h>
static inline bool static inline bool
......
/* /*
* Copyright 2007-2018 Content Management AG * Copyright 2007-2020 CM4all GmbH
* All rights reserved. * All rights reserved.
* *
* author: Max Kellermann <mk@cm4all.com> * author: Max Kellermann <mk@cm4all.com>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment