From: Nickolay V. Shmyrev <nshmyrev@src.gnome.org>
Date: Sat, 18 Jun 2005 21:59:29 +0000 (+0000)
Subject: Include locale.h to fix build
X-Git-Tag: EVINCE_0_3_3~229
X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=74ddcfcb4098d77e261b95d5ff678bd853c61e10;p=evince.git

Include locale.h to fix build

	* ps/ps-document.c:

	Include locale.h to fix build

	* shell/ev-sidebar.c:

	Remove unnecessary includes

	Thanks to jaap@haitsma.org (Jaap A. Haitsma)
---

diff --git a/ChangeLog b/ChangeLog
index f77e17c4..26cbc02e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-06-19   Jaap A. Haitsma <jaap@haitsma.org>
+
+	* ps/ps-document.c:
+	
+	Include locale.h to fix build
+	
+	* shell/ev-sidebar.c:
+	
+	Remove unnecessary includes
+
 2005-06-19  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
 	* dvi/dvi-document.c: (dvi_document_load):
diff --git a/ps/ps-document.c b/ps/ps-document.c
index 0febcea4..8aa9bd1c 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -43,6 +43,10 @@
 #include <stdio.h>
 #include <math.h>
 
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
 #include "ps-document.h"
 #include "ev-debug.h"
 #include "gsdefaults.h"
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index 12bd1718..f23a45f3 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -30,8 +30,6 @@
 
 #include "ev-sidebar.h"
 #include "ev-sidebar-page.h"
-#include "ev-document-thumbnails.h"
-#include "ev-document-links.h"
 
 enum
 {