summaryrefslogtreecommitdiff
path: root/libguile/loader.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-14 22:16:01 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-14 22:20:47 +0200
commit83584ef23105be514c474ca0a1f107d681888d5d (patch)
tree52b924cabc24d4216123c40baa2ccd26f4ad089d /libguile/loader.c
parentceaf782770b597f4eb31a4fca65a75ab220aa47c (diff)
downloadguile-83584ef23105be514c474ca0a1f107d681888d5d.tar.gz
Fix libguile subcomponent headers not to include <libguile.h>
* libguile/bytevectors.h: Include uniform.h, for use in the macros. * libguile/extensions.h: Include libpath.h, for the SCM_EFFECTIVE_VERSION, which is almost always used with these routines. * libguile/frames.h: * libguile/instructions.h: * libguile/intrinsics.h: * libguile/loader.h: * libguile/programs.h: * libguile/vm.h: Include <libguile/__scm.h> instead of <libguile.h>. Cuts a circular include, but also precipitates a lot of maintenance in the .c files. * libguile/*.c: Update C files to add needed all needed includes that before were getting automatically pulled in by the indirect inclusion of libguile.h.
Diffstat (limited to 'libguile/loader.c')
-rw-r--r--libguile/loader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libguile/loader.c b/libguile/loader.c
index d8816abcd..0d427b5e5 100644
--- a/libguile/loader.c
+++ b/libguile/loader.c
@@ -1,5 +1,5 @@
/* Copyright (C) 2001, 2009, 2010, 2011, 2012
- * 2013, 2014, 2015 Free Software Foundation, Inc.
+ * 2013, 2014, 2015, 2018 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -40,6 +40,8 @@
#include "_scm.h"
#include "elf.h"
+#include "eval.h"
+#include "extensions.h"
#include "programs.h"
#include "loader.h"