aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-03-07 11:58:06 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-07 11:58:06 -0300
commit2f1a2eb0f20a1a4f8ffd464e52e2c8f1860bb167 (patch)
tree803d54256a13a89f0a5f3ec579169e59d112d963 /src/misc2.c
parent0412ee7440da718a27425fa1559855f3d363549f (diff)
downloadrneovim-2f1a2eb0f20a1a4f8ffd464e52e2c8f1860bb167.tar.gz
rneovim-2f1a2eb0f20a1a4f8ffd464e52e2c8f1860bb167.tar.bz2
rneovim-2f1a2eb0f20a1a4f8ffd464e52e2c8f1860bb167.zip
Fix `free_all_mem` and EXITFREE definition
Because of the '$' in `if(DEFINED $ENV{VALGRIND_CHECK})` EXITFREE wasn't being defined, so the `free_all_mem` wasn't being included or called in the resulting binary. This commit fixes that, and also adds includes needed for `free_all_mem` compilation.
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 92a6af598b..0fce70759d 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -14,13 +14,18 @@
#include "misc2.h"
#include "file_search.h"
#include "blowfish.h"
+#include "buffer.h"
#include "charset.h"
+#include "diff.h"
#include "edit.h"
#include "eval.h"
+#include "ex_cmds.h"
#include "ex_docmd.h"
#include "ex_getln.h"
#include "fileio.h"
#include "fold.h"
+#include "getchar.h"
+#include "mark.h"
#include "mbyte.h"
#include "memfile.h"
#include "memline.h"
@@ -28,8 +33,14 @@
#include "misc1.h"
#include "move.h"
#include "option.h"
+#include "ops.h"
#include "os_unix.h"
+#include "quickfix.h"
+#include "regexp.h"
#include "screen.h"
+#include "search.h"
+#include "spell.h"
+#include "syntax.h"
#include "tag.h"
#include "term.h"
#include "ui.h"