From c006c6189d4c85299aa2670f8299bd9fd20bc669 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Tue, 15 Feb 2022 09:31:32 +0100 Subject: [PATCH] - Fixed restconf http/1 only compile errors --- apps/restconf/restconf_native.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/restconf/restconf_native.c b/apps/restconf/restconf_native.c index de966aa6..f98dc768 100644 --- a/apps/restconf/restconf_native.c +++ b/apps/restconf/restconf_native.c @@ -704,6 +704,7 @@ restconf_http1(restconf_conn *rc, } #endif +#ifdef HAVE_LIBNGHTTP2 static int restconf_http2_upgrade(restconf_conn *rc) { @@ -803,6 +804,7 @@ restconf_http2(restconf_conn *rc, done: return retval; } +#endif /* HAVE_LIBNGHTTP2 */ /*! New data connection after accept, receive and reply on data socket *