diff --git a/.github/workflows/test-dev.yml b/.github/workflows/test-dev.yml index c01bfaa8e..9b2ea9d78 100644 --- a/.github/workflows/test-dev.yml +++ b/.github/workflows/test-dev.yml @@ -92,7 +92,7 @@ jobs: strategy: matrix: - linux-version: [ 'amazonlinux:2022' ] + linux-version: [ 'amazonlinux:2022', 'ubuntu:24.04' ] steps: - uses: actions/checkout@v4 diff --git a/deps/libnetcdf/config.h b/deps/libnetcdf/config.h index f3a6f447b..7d777d734 100644 --- a/deps/libnetcdf/config.h +++ b/deps/libnetcdf/config.h @@ -124,6 +124,11 @@ #define USE_HDF5 1 #define USE_NETCDF4 1 #define USE_NETCDF_2 1 + +#ifdef __GNUC_PREREQ +#if __GNUC_PREREQ(2, 38) +#define HAVE_STRLCAT 1 +#endif #endif #ifdef WIN32