From a42253a08e3686a90e676773819f0dccd2f98fb0 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Thu, 29 Feb 2024 02:26:33 +0700 Subject: [PATCH 1/3] shrpx_config.cc: if undefined, define AI_NUMERICSERV to 0 --- src/shrpx_config.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git src/shrpx_config.cc src/shrpx_config.cc index 8bc3a280..1e9cd4c5 100644 --- src/shrpx_config.cc +++ src/shrpx_config.cc @@ -66,6 +66,10 @@ #include "ssl_compat.h" #include "xsi_strerror.h" +#ifndef AI_NUMERICSERV +#define AI_NUMERICSERV 0 +#endif + namespace shrpx { namespace {