From 7d98145ea81e4df6ad15b6f9909b1f73fdd9ebd1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 26 Aug 2019 20:26:40 +0200 Subject: [PATCH] net/AddressInfo: include Features.hxx instead of config.h --- src/net/AddressInfo.cxx | 4 ++-- src/net/AddressInfo.hxx | 2 +- src/net/SocketAddress.cxx | 1 - src/net/SocketDescriptor.cxx | 1 - src/net/StaticSocketAddress.cxx | 1 - 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/net/AddressInfo.cxx b/src/net/AddressInfo.cxx index 4eaf85344..51de814d4 100644 --- a/src/net/AddressInfo.cxx +++ b/src/net/AddressInfo.cxx @@ -1,5 +1,5 @@ /* - * Copyright 2016-2018 Max Kellermann + * Copyright 2016-2019 Max Kellermann * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -27,8 +27,8 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" #include "AddressInfo.hxx" +#include "Features.hxx" #include diff --git a/src/net/AddressInfo.hxx b/src/net/AddressInfo.hxx index 5c9ff28c8..cd34197bb 100644 --- a/src/net/AddressInfo.hxx +++ b/src/net/AddressInfo.hxx @@ -1,5 +1,5 @@ /* - * Copyright 2016-2018 Max Kellermann + * Copyright 2016-2019 Max Kellermann * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/src/net/SocketAddress.cxx b/src/net/SocketAddress.cxx index 3b5bcbb6e..634792d5c 100644 --- a/src/net/SocketAddress.cxx +++ b/src/net/SocketAddress.cxx @@ -27,7 +27,6 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" #include "SocketAddress.hxx" #include "IPv4Address.hxx" #include "IPv6Address.hxx" diff --git a/src/net/SocketDescriptor.cxx b/src/net/SocketDescriptor.cxx index f0873520d..158a44dbc 100644 --- a/src/net/SocketDescriptor.cxx +++ b/src/net/SocketDescriptor.cxx @@ -27,7 +27,6 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" #include "SocketDescriptor.hxx" #include "SocketAddress.hxx" #include "StaticSocketAddress.hxx" diff --git a/src/net/StaticSocketAddress.cxx b/src/net/StaticSocketAddress.cxx index ee20d8070..12e3704d0 100644 --- a/src/net/StaticSocketAddress.cxx +++ b/src/net/StaticSocketAddress.cxx @@ -27,7 +27,6 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" #include "StaticSocketAddress.hxx" #include "IPv4Address.hxx" #include "IPv6Address.hxx"