summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-26 20:26:40 +0200
committerMax Kellermann <max@musicpd.org>2019-08-26 20:26:40 +0200
commit7d98145ea81e4df6ad15b6f9909b1f73fdd9ebd1 (patch)
tree3d88547805feb07df69f89c1a8b2d55dba85aaba /src/net
parente7c5a59e39b3817e93bb7f1bf4c8aba5299061c3 (diff)
net/AddressInfo: include Features.hxx instead of config.h
Diffstat (limited to 'src/net')
-rw-r--r--src/net/AddressInfo.cxx4
-rw-r--r--src/net/AddressInfo.hxx2
-rw-r--r--src/net/SocketAddress.cxx1
-rw-r--r--src/net/SocketDescriptor.cxx1
-rw-r--r--src/net/StaticSocketAddress.cxx1
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 <max.kellermann@gmail.com>
+ * Copyright 2016-2019 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
@@ -27,8 +27,8 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
#include "AddressInfo.hxx"
+#include "Features.hxx"
#include <assert.h>
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 <max.kellermann@gmail.com>
+ * Copyright 2016-2019 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
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"