Skip to content

Commit e658b0e

Browse files
committed
Merge #21505: build: Remove unused header from the build system
0eabb2a build: Remove unused header from the build system (Hennadii Stepanov) Pull request description: The only `#include <miniupnpc/miniwget.h>` was removed in #16659. ACKs for top commit: practicalswift: cr ACK 0eabb2a fanquake: ACK 0eabb2a Tree-SHA512: 630da03875c851e80286561eae0f966c89624cbb17b90f70e2bec9a69146e79d088fc176e07a4906915770ac1cdb11341a7a431ea7cf6a59d2816e927486f335
2 parents 19e3e65 + 0eabb2a commit e658b0e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

build_msvc/bitcoin_config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@
181181
/* Define to 1 if you have the <miniupnpc/miniupnpc.h> header file. */
182182
#define HAVE_MINIUPNPC_MINIUPNPC_H 1
183183

184-
/* Define to 1 if you have the <miniupnpc/miniwget.h> header file. */
185-
#define HAVE_MINIUPNPC_MINIWGET_H 1
186-
187184
/* Define to 1 if you have the <miniupnpc/upnpcommands.h> header file. */
188185
#define HAVE_MINIUPNPC_UPNPCOMMANDS_H 1
189186

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ fi
13661366
dnl Check for libminiupnpc (optional)
13671367
if test x$use_upnp != xno; then
13681368
AC_CHECK_HEADERS(
1369-
[miniupnpc/miniwget.h miniupnpc/miniupnpc.h miniupnpc/upnpcommands.h miniupnpc/upnperrors.h],
1369+
[miniupnpc/miniupnpc.h miniupnpc/upnpcommands.h miniupnpc/upnperrors.h],
13701370
[AC_CHECK_LIB([miniupnpc], [upnpDiscover], [MINIUPNPC_LIBS=-lminiupnpc], [have_miniupnpc=no])],
13711371
[have_miniupnpc=no]
13721372
)

0 commit comments

Comments
 (0)