package/sslh: fix build with gcc 4.8
Fix the following build failure raised since bump to version 1.22c in
commit 5b9c58531e
:
sslh-select.c: In function 'udp_timeouts':
sslh-select.c:480:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < fd_info->max_fd; i++) {
^
Fixes:
- http://autobuild.buildroot.org/results/aaaac2beb16730747b4265e81d09cb5e072c7267
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
2d893f870f
commit
96c6ccb498
@ -11,7 +11,7 @@ SSLH_LICENSE = GPL-2.0+
|
||||
SSLH_LICENSE_FILES = COPYING
|
||||
SSLH_DEPENDENCIES = pcre2
|
||||
|
||||
SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
|
||||
SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
||||
SSLH_DEPENDENCIES += libbsd
|
||||
|
Loading…
Reference in New Issue
Block a user