Skip to content

Commit

Permalink
values.h is pretty legacy on Linux, and not included in Bionic, so mo…
Browse files Browse the repository at this point in the history
…ve it down to Solaris only
  • Loading branch information
wasabii committed Dec 19, 2024
1 parent da7fb6c commit f2320fd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jdk/src/solaris/native/java/net/net_util_md.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@
#include <dlfcn.h>
#include <sys/time.h>

#ifndef _ALLBSD_SOURCE
#include <values.h>
#else
#ifdef _ALLBSD_SOURCE
#include <limits.h>
#include <sys/param.h>
#include <sys/sysctl.h>
Expand All @@ -50,6 +48,7 @@
#include <sys/sockio.h>
#include <stropts.h>
#include <inet/nd.h>
#include <values.h>
#endif

#ifdef __linux__
Expand Down

0 comments on commit f2320fd

Please sign in to comment.