diff -urN link-grammar/spellcheck-aspell.c ../link-grammar-4.7.9-patched/link-grammar/spellcheck-aspell.c --- link-grammar/spellcheck-aspell.c 2012-10-28 13:39:22.000000000 -0400 +++ link-grammar/spellcheck-aspell.c 2013-02-07 13:38:53.000000000 -0500 @@ -15,13 +15,13 @@ #include #include +#ifdef HAVE_ASPELL + #include #include "link-includes.h" #include "spellcheck.h" #include "utilities.h" /* For Win32 compatibility */ -#ifdef HAVE_ASPELL - #define ASPELL_LANG_KEY "lang" static const char *spellcheck_lang_mapping[] = { "en" /* link-grammar language */, "en_US" /* Aspell language key */ diff -urN link-grammar/spellcheck-hun.c ../link-grammar-4.7.9-patched/link-grammar/spellcheck-hun.c --- link-grammar/spellcheck-hun.c 2012-10-28 13:16:44.000000000 -0400 +++ link-grammar/spellcheck-hun.c 2013-02-07 13:38:53.000000000 -0500 @@ -13,11 +13,13 @@ #include #include + +#ifdef HAVE_HUNSPELL + #include "link-includes.h" #include "spellcheck.h" #include "utilities.h" /* For Win32 compatibility */ -#ifdef HAVE_HUNSPELL #ifndef HUNSPELL_DICT_DIR #define HUNSPELL_DICT_DIR (char *)0