diff --git a/shell/shell.cpp b/shell/shell.cpp index a18c2e137..6a32a5442 100644 --- a/shell/shell.cpp +++ b/shell/shell.cpp @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/shell/shell.h b/shell/shell.h index e7c815089..391db6726 100644 --- a/shell/shell.h +++ b/shell/shell.h @@ -21,7 +21,6 @@ #endif #include -class KPopupMenu; namespace KPDF { diff --git a/xpdf/splash/SplashFTFontEngine.cc b/xpdf/splash/SplashFTFontEngine.cc index d6c078f04..b47ba24e2 100644 --- a/xpdf/splash/SplashFTFontEngine.cc +++ b/xpdf/splash/SplashFTFontEngine.cc @@ -31,9 +31,11 @@ extern "C" int unlink(char *filename); //------------------------------------------------------------------------ +#if 0 static void FT_fileWrite(void *stream, const char *data, int len) { fwrite(data, 1, len, (FILE *)stream); } +#endif //------------------------------------------------------------------------ // SplashFTFontEngine diff --git a/xpdf/xpdf/GlobalParams.cc b/xpdf/xpdf/GlobalParams.cc index 5b120ddda..19cc8ad07 100644 --- a/xpdf/xpdf/GlobalParams.cc +++ b/xpdf/xpdf/GlobalParams.cc @@ -23,6 +23,7 @@ #include #include FT_FREETYPE_H // -- ---------------------------------------------------------- -- +#include #include #include #include @@ -99,6 +100,7 @@ static const char *displayFontDirs[] = { "/usr/share/fonts/default/Type1", "/usr/share/fonts/type1/gsfonts", "/usr/share/fonts/default/ghostscript/", + "/usr/share/fonts/Type1", NULL };