summaryrefslogtreecommitdiff
path: root/src/net/AddressInfo.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-07-23 16:14:23 +0200
committerMax Kellermann <max@musicpd.org>2020-07-23 16:26:18 +0200
commit155fc8fa5a3abf1d802efb36cd4b4fa2b3f3d69a (patch)
tree9d20802d8ec327785876224fadf2ef852e365141 /src/net/AddressInfo.hxx
parent7daf80a0c069acbdfacc46ac1049a59fdccf85ae (diff)
include cleanup
Diffstat (limited to 'src/net/AddressInfo.hxx')
-rw-r--r--src/net/AddressInfo.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/AddressInfo.hxx b/src/net/AddressInfo.hxx
index 1e6350b75..578c53a07 100644
--- a/src/net/AddressInfo.hxx
+++ b/src/net/AddressInfo.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2019 Max Kellermann <max.kellermann@gmail.com>
+ * Copyright 2016-2020 Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -31,13 +31,14 @@
#define NET_ADDRESS_INFO_HXX
#include "SocketAddress.hxx"
+#include "util/Compiler.h"
#include <utility>
#ifdef _WIN32
-#include <ws2tcpip.h>
+#include <ws2tcpip.h> // IWYU pragma: export
#else
-#include <netdb.h>
+#include <netdb.h> // IWYU pragma: export
#endif
constexpr struct addrinfo