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

Fixup after e4dad42ca1
This commit is contained in:
Max Kellermann 2020-07-23 17:39:19 +02:00
parent f102cbb613
commit dbdf782e59
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2007-2018 Content Management AG
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
@ -33,7 +33,7 @@
#include "HostParser.hxx"
#include "util/CharUtil.hxx"
#include <string.h>
#include <cstring>
static inline bool
IsValidHostnameChar(char ch) noexcept

View File

@ -1,5 +1,5 @@
/*
* Copyright 2007-2018 Content Management AG
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>

View File

@ -45,8 +45,8 @@
#endif
#include <cerrno>
#include <cstring>
#include <string.h>
#include <stdio.h>
static inline bool

View File

@ -1,5 +1,5 @@
/*
* Copyright 2007-2018 Content Management AG
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>