summaryrefslogtreecommitdiff
path: root/pcr/font-manager/1001-gcc47.patch
blob: 1563c71ceea9e95e842d87b5f50e848d62c344d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix missing #includes to prevent FTBFS with GCC 4.7.
Author: Alessio Treglia <alessio@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672043
Forwarded: http://code.google.com/p/font-manager/issues/detail?id=71
---
 src/lib/fm-fontutils.c |    1 +
 1 file changed, 1 insertion(+)

--- font-manager.orig/src/lib/fm-fontutils.c
+++ font-manager/src/lib/fm-fontutils.c
@@ -21,6 +21,7 @@
  *   Boston, MA 02110-1301, USA
 */
 
+#include <unistd.h>
 #include <glib.h>
 #include <glib/gprintf.h>
 #include <glib/gstdio.h>