Skip to content

Commit

Permalink
net/{Resolver,HostParser}: include <cstring>
Browse files Browse the repository at this point in the history
Fixup after e4dad42
  • Loading branch information
MaxKellermann committed Jul 23, 2020
1 parent f102cbb commit dbdf782
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/net/HostParser.cxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2018 Content Management AG
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
Expand Down Expand Up @@ -33,7 +33,7 @@
#include "HostParser.hxx"
#include "util/CharUtil.hxx"

#include <string.h>
#include <cstring>

static inline bool
IsValidHostnameChar(char ch) noexcept
Expand Down
2 changes: 1 addition & 1 deletion src/net/HostParser.hxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2018 Content Management AG
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
Expand Down
2 changes: 1 addition & 1 deletion src/net/Resolver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
#endif

#include <cerrno>
#include <cstring>

#include <string.h>
#include <stdio.h>

static inline bool
Expand Down
2 changes: 1 addition & 1 deletion src/net/Resolver.hxx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2018 Content Management AG
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
Expand Down

0 comments on commit dbdf782

Please sign in to comment.