[MOD] STR #4195: OpenBSD: error: 'intptr_t' undeclared

Antoine Jacoutot <[email protected]> Sun, 30 Sep 2012 02:21:25 -0700 (PDT)
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Hi.

On OpenBSD, the build fails with:
raster.c:154: error: 'intptr_t' undeclared (first use in this function)

Including stdint.h fixed it. In the attached patch I did not ifdef the
include as I don't think it matters on other OS, but if an ifdef is
prefered that is fine.

Thank you.

Link: http://www.cups.org/str.php?L4195
Version: 1.6.1

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
patch-filter_raster_c (application/octet-stream, 212 B) - not displayed