Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > a604eb5376931fb48fef5068c1b58ef9 > files > 1

ptouch-driver-1.3-2.fc12.src.rpm

The STL headers in gcc-4.3 have been cleaned up, so that the headers don't drag in
unnecessary dependencies which aren't requested by the standard.
This fixes build for gcc-4.3

Lubomir Kundrak <lkundrak@redhat.com>

diff -urp ptouch-driver-1.2.orig/rastertoptch.c ptouch-driver-1.2/rastertoptch.c
--- ptouch-driver-1.2.orig/rastertoptch.c	2006-09-08 16:39:27.000000000 +0200
+++ ptouch-driver-1.2/rastertoptch.c	2008-02-13 16:37:13.000000000 +0100
@@ -311,6 +311,7 @@
 #include <math.h>
 #include <cups/raster.h>
 #include <cups/cups.h>
+#include <limits.h>
 
 #if STDC_HEADERS
 # include <string.h>