net/StaticSocketAddress: add IWYU pragma

This commit is contained in:
Max Kellermann 2020-07-23 17:35:09 +02:00
parent a2f42e6424
commit 5522967286

View File

@ -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 * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@ -30,12 +30,14 @@
#ifndef STATIC_SOCKET_ADDRESS_HXX #ifndef STATIC_SOCKET_ADDRESS_HXX
#define STATIC_SOCKET_ADDRESS_HXX #define STATIC_SOCKET_ADDRESS_HXX
#include "SocketAddress.hxx" #include "SocketAddress.hxx" // IWYU pragma: export
#include "Features.hxx" #include "Features.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include <cassert> #include <cassert>
struct StringView;
/** /**
* An OO wrapper for struct sockaddr_storage. * An OO wrapper for struct sockaddr_storage.
*/ */