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
+2 -2
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
+1 -1
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>
+1 -1
View File
@@ -45,8 +45,8 @@
#endif
#include <cerrno>
#include <cstring>
#include <string.h>
#include <stdio.h>
static inline bool
+1 -1
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>