summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-10-29 23:30:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-30 17:47:42 +0200
commit1001e63bd8309b58880902e70f65115952b1db04 (patch)
treead0a227199e44c7b0bfb6ed8e1089b4f6349d8fb /rules.mk
parent16dbcc605532bfa9da31b64c56cbba602f78be49 (diff)
gnutls: Fix build with uclibc-ng
Recent gnutls update introduced "gnulib module fopen" (gl/fopen.c) which tries to get fopen() declaration from stdio.h by defining __need_FILE before including the header. While this seems unnecessary for the purpose (alegedly __need_FILE is used by headers including stdio.h to get the FILE declaration while avoiding namespace pollution), uClibc-ng's stdio.h behaves unexpected if __need_FILE is defined: 1) features.h is not included, therefore __BEGIN_NAMESPACE_STD (and likely more) is not known later on 2) it declares *only* FILE, nothing else To avoid these problems, don't define __need_FILE in gnutls and pray this works with other libc's as well. Actually one should fix uClibc-ng instead. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'rules.mk')
0 files changed, 0 insertions, 0 deletions