cosmo: fix missing include for elf.h

This commit is contained in:
Connor Olding 2022-10-04 04:10:29 -07:00
parent 342dd18d82
commit ceec58b0f9

View file

@ -38,7 +38,8 @@ RUN : \
'/\bNET_HTTP\b/i\\tTOOL_ARGS\t\t\\' \
# include nsync_cv_signal and nsync_cv_wait_with_deadline in cosmopolitan.a \
'/\bTHIRD_PARTY_NSYNC_MALLOC\b/i\\tTHIRD_PARTY_NSYNC_MEM\t\t\\' \
# add missing include \
# add missing includes \
&& shed libc/elf/elf.h '/"libc\/elf\/struct\/ehdr.h"/i\\#include "libc/elf/struct/dyn.h"' \
&& 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' \