From 8f00794df2b5382234c0c720b3233ccd1a00e243 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 3 Oct 2022 04:51:28 -0700 Subject: [PATCH] cosmo: fix missing include for `utime.h` --- cosmo/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cosmo/Dockerfile b/cosmo/Dockerfile index 259612c..1fbd257 100644 --- a/cosmo/Dockerfile +++ b/cosmo/Dockerfile @@ -33,6 +33,8 @@ RUN : \ && shed Makefile '/COSMOPOLITAN_OBJECTS =/a\\tTOOL_ARGS\t\t\\' \ # include nsync_cv_signal and nsync_cv_wait_with_deadline in cosmopolitan.a \ && shed Makefile '/THIRD_PARTY_NSYNC_MALLOC/i\\tTHIRD_PARTY_NSYNC_MEM\t\t\\' \ +# add missing include \ + && shed libc/isystem/utime.h '/"libc\/time\/time.h"/i\#include "libc/time/struct/utimbuf.h"' \ # awk's pledge isn't working for me for whatever reason \ && shed third_party/awk/main.c '/pledge.*{/,/}/d' \ # create a mapping from flavor to mode (possibly an empty string) \