From 3882a2ffb35ca6596eb12a832db844df6c1bf309 Mon Sep 17 00:00:00 2001 From: Lily Ballard Date: Thu, 13 Feb 2020 21:14:27 -0800 Subject: [PATCH] Work around compilation failure with old Apple SDKs When building fish-shell with the macOS 10.12 SDK, does not include but references `struct itimerval`. This causes a compilation failure if we don't import ourselves. This was previously masked by an import of , which was removed in fc0c39b6fdb6. (cherry picked from commit 47aeaa15350b49c4b86a84b3c49e8ba9064b788b) --- src/expand.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/expand.cpp b/src/expand.cpp index 56cb0018f..48bd4f72b 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -17,6 +17,7 @@ #include #endif #if __APPLE__ +#include // Required to build with old SDK versions #include #else #include