From f2320fd28b8edc0b410e96a583880ab57c0225f0 Mon Sep 17 00:00:00 2001 From: Jerome Haltom Date: Wed, 18 Dec 2024 18:36:29 -0600 Subject: [PATCH] values.h is pretty legacy on Linux, and not included in Bionic, so move it down to Solaris only --- jdk/src/solaris/native/java/net/net_util_md.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jdk/src/solaris/native/java/net/net_util_md.c b/jdk/src/solaris/native/java/net/net_util_md.c index bd0bd8c2c97..6059416dc22 100644 --- a/jdk/src/solaris/native/java/net/net_util_md.c +++ b/jdk/src/solaris/native/java/net/net_util_md.c @@ -35,9 +35,7 @@ #include #include -#ifndef _ALLBSD_SOURCE -#include -#else +#ifdef _ALLBSD_SOURCE #include #include #include @@ -50,6 +48,7 @@ #include #include #include +#include #endif #ifdef __linux__