summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-07-23 17:35:09 +0200
committerMax Kellermann <max@musicpd.org>2020-07-23 17:40:29 +0200
commit55229672869c456a2011b4b4bf35f0eb71daef78 (patch)
tree87f71b3b07baa4e17642b93be063509c0f46de53 /src/net
parenta2f42e642446e54b3f5ddffa29e62f021b3ce7e5 (diff)
net/StaticSocketAddress: add IWYU pragma
Diffstat (limited to 'src/net')
-rw-r--r--src/net/StaticSocketAddress.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx
index 6694cdebb..c86a2a171 100644
--- a/src/net/StaticSocketAddress.hxx
+++ b/src/net/StaticSocketAddress.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2019 Max Kellermann <max.kellermann@gmail.com>
+ * Copyright 2012-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
@@ -30,12 +30,14 @@
#ifndef STATIC_SOCKET_ADDRESS_HXX
#define STATIC_SOCKET_ADDRESS_HXX
-#include "SocketAddress.hxx"
+#include "SocketAddress.hxx" // IWYU pragma: export
#include "Features.hxx"
#include "util/Compiler.h"
#include <cassert>
+struct StringView;
+
/**
* An OO wrapper for struct sockaddr_storage.
*/