Fix missing includes

This commit is contained in:
Justine Tunney 2023-06-09 18:11:53 -07:00
parent 4a59210008
commit f6407d5f7c
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
10 changed files with 12 additions and 2 deletions

View file

@ -396,7 +396,8 @@ o/cosmopolitan.h: \
$(foreach x,$(COSMOPOLITAN_HEADERS),$($(x)_HDRS)) \
$(foreach x,$(COSMOPOLITAN_HEADERS),$($(x)_INCS))
$(file >$(TMPDIR)/$(subst /,_,$@),libc/integral/normalize.inc $(foreach x,$(COSMOPOLITAN_HEADERS),$($(x)_HDRS)))
@$(COMPILE) -AROLLUP -T$@ o/$(MODE)/tool/build/rollup.com @$(TMPDIR)/$(subst /,_,$@) >$@
@$(ECHO) '#define COSMO' >$@
@$(COMPILE) -AROLLUP -T$@ o/$(MODE)/tool/build/rollup.com @$(TMPDIR)/$(subst /,_,$@) >>$@
o/cosmopolitan.html: private .UNSANDBOXED = 1
o/cosmopolitan.html: \

View file

@ -26,12 +26,14 @@
*/
#define lua_c
#include "third_party/lua/lua.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/sigaction.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/log/log.h"
#include "libc/mem/gc.h"
#include "libc/runtime/runtime.h"
#include "libc/runtime/stack.h"
#include "libc/sock/sock.h"
#include "libc/sock/struct/pollfd.h"
@ -45,7 +47,6 @@
#include "third_party/lua/lauxlib.h"
#include "third_party/lua/lprefix.h"
#include "third_party/lua/lrepl.h"
#include "third_party/lua/lua.h"
#include "third_party/lua/lualib.h"
#include "third_party/lua/lunix.h"
#include "tool/args/args.h"

View file

@ -21,6 +21,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "third_party/make/job.h"
#include "third_party/make/variable.h"
/**/
#include "libc/runtime/runtime.h"
#include "third_party/make/commands.h"
/* clang-format off */

View file

@ -25,6 +25,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "third_party/make/debug.h"
#include "libc/assert.h"
#include "libc/sysv/consts/clock.h"
#include "libc/runtime/runtime.h"
#include "third_party/make/hash.h"

View file

@ -21,6 +21,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "libc/intrin/bsr.h"
#include "libc/intrin/likely.h"
#include "libc/log/check.h"
#include "libc/runtime/runtime.h"
#include "libc/x/x.h"
#include "third_party/make/hash.h"
/* clang-format off */

View file

@ -18,6 +18,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "third_party/make/makeint.inc"
#include "third_party/make/os.h"
#include "third_party/make/output.h"
#include "libc/runtime/runtime.h"
#include "libc/calls/struct/flock.h"
/* GNU make no longer supports pre-ANSI89 environments. */

View file

@ -25,6 +25,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "third_party/make/rule.h"
#include "third_party/make/debug.h"
#include "third_party/musl/passwd.h"
#include "libc/runtime/runtime.h"
#include "third_party/make/hash.h"
# define GLOB_ALTDIRFUNC (1 << 9)/* Use gl_opendir et al functions. */

View file

@ -21,6 +21,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "third_party/make/commands.h"
#include "third_party/make/dep.h"
#include "third_party/make/variable.h"
#include "libc/runtime/runtime.h"
#include "third_party/make/debug.h"
/* The test for circular dependencies is based on the 'updating' bit in

View file

@ -21,6 +21,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "third_party/make/job.h"
#include "third_party/make/commands.h"
#include "third_party/make/variable.h"
#include "libc/runtime/runtime.h"
#include "third_party/make/rule.h"
static void freerule (struct rule *rule, struct rule *lastrule);

View file

@ -15,6 +15,7 @@ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>. */
#include "libc/runtime/runtime.h"
#include "third_party/make/makeint.inc"
#include "third_party/make/filedef.h"