[evolution-patches] icalrecur.c: #include <inttypes.h>




On OpenBSD (and perhaps elsewhere) the intptr_t typedef is in inttypes.h. Configure already checks for the existence of this file, so all that's
needed is to act on that check in icalrecur.c.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libical/ChangeLog,v
retrieving revision 1.170
diff -u -r1.170 ChangeLog
--- ChangeLog	11 Mar 2005 01:45:08 -0000	1.170
+++ ChangeLog	20 Jul 2005 14:18:46 -0000
@@ -1,3 +1,7 @@
+2005-07-20  Wim Lewis  <wiml hhhh org>
+
+	* src/libical/icalrecur.c: #include <inttypes.h> if available.
+
 2005-03-09  Not Zed  <NotZed Ximian com>

 	* src/libical/icaltime.c (unset_tz): uncomment out free'ing code.
Index: src/libical/icalrecur.c
===================================================================
RCS file: /cvs/gnome/libical/src/libical/icalrecur.c,v
retrieving revision 1.13
diff -u -r1.13 icalrecur.c
--- src/libical/icalrecur.c	21 Oct 2003 18:28:27 -0000	1.13
+++ src/libical/icalrecur.c	20 Jul 2005 14:18:48 -0000
@@ -138,6 +138,10 @@
 #include <stdint.h>
 #endif

+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
 #ifndef HAVE_INTPTR_T
 #ifdef WIN32
 typedef long intptr_t;





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]