diff options
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index e3babd864..8a0f24eee 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -46,6 +46,7 @@ #include "javascript/js.h" #include "html/html.h" #include "text/textplain.h" +#include "pdf/pdf.h" #include "netsurf/browser_window.h" #include "desktop/system_colour.h" @@ -187,6 +188,12 @@ nserror netsurf_init(const char *store_path) if (ret != NSERROR_OK) return ret; +#ifdef WITH_NSPDF + ret = nspdf_init(); + if (ret != NSERROR_OK) + return ret; +#endif + setlocale(LC_ALL, ""); /* initialise the fetchers */ |