From 351f7fd9bc6b6722b2ebf4fa4132d2d3677bf0a9 Mon Sep 17 00:00:00 2001 From: Joe Griffin Date: Tue, 2 Jun 2026 14:42:59 -0400 Subject: [PATCH] Fix Alpine 15.2.0 build --- wscript | 2 +- zcm/util/topology.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 6af0c9c4..1b03c187 100644 --- a/wscript +++ b/wscript @@ -409,7 +409,7 @@ def setup_environment(ctx): ctx.env.LIB_default = ['rt'] if ctx.env.USING_IPCSHM else [] ctx.env.LINKFLAGS_default = ['-pthread'] - ctx.env.DEFINES_default = ['_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64'] + ctx.env.DEFINES_default = ['_LARGEFILE_SOURCE', '_LARGEFILE64_SOURCE', '_FILE_OFFSET_BITS=64'] for k in ctx.env.keys(): if k.startswith('USING_'): if getattr(ctx.env, k): diff --git a/zcm/util/topology.hpp b/zcm/util/topology.hpp index 552d5c0b..f9b063eb 100644 --- a/zcm/util/topology.hpp +++ b/zcm/util/topology.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include #include #include