nginx: add scgi_params if CONFIG_NGINX_HTTP_SCGI=y
[feed/packages.git] / net / usteer / patches / 001-usteer-fix-missing-struct-definition.patch
1 From cacf1686db8adb4e7a35a85f0988c30ab5d96864 Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Wed, 13 Oct 2021 00:13:48 +0200
4 Subject: [PATCH] usteer: fix missing struct definition
5
6 When compiling for targets using glibc, usteer compilation would fail
7 due to undefined struct in6_pktinfo. In this case, use the struct
8 definition provided by Linux UAPI.
9
10 Signed-off-by: David Bauer <mail@david-bauer.net>
11 ---
12 remote.c | 6 ++++++
13 1 file changed, 6 insertions(+)
14
15 --- a/remote.c
16 +++ b/remote.c
17 @@ -17,6 +17,7 @@
18 * Copyright (C) 2020 John Crispin <john@phrozen.org>
19 */
20
21 +#define _GNU_SOURCE
22 #include <sys/types.h>
23 #include <sys/socket.h>
24 #include <netinet/in.h>