|
From: | ML mail |
Subject: | Re: Compiling 0.6.14 on Solaris 10 SPARC |
Date: | Fri, 20 Apr 2007 13:39:37 -0700 (PDT) |
Hi,
First of all, please answer under the quote and remove unneeded quotation.
On 4/20/07, ML mail wrote:
> I have added the include to sys/types.h in gnokii-calendar.c for example and
> reran everything but unfortunately still the same error. Here is an extract
> of gnokii/gnokii-calendar.c where you can see where I inserted the
> sys/types.h line:
>
> #include
> #include
> #include
> #define _GNU_SOURCE
> #include
>
> Is this correct ?
That should work. Alternatively you may try the following patch:
Index: include/compat.h
===================================================================
RCS file: /cvsroot/gnokii/gnokii/include/compat.h,v
retrieving revision 1.51
diff -u -r1.51 compat.h
--- include/compat.h 23 Nov 2006 20:52:42 -0000 1.51
+++ include/compat.h 20 Apr 2007 16:53:24 -0000
@@ -97,8 +97,6 @@
#ifdef HAVE_LIMITS_H
# include
-#else
-# define INT_MAX 2147483647
#endif
#ifdef HAVE_UNISTD_H
@@ -109,6 +107,10 @@
# include
#endif
+#if !defined(INT_MAX)
+# define INT_MAX 2147483647
+#endif
+
/*
* The following ifdef block is the standard way of creating macros which make
* exporting from a DLL simpler. All files within this DLL are compiled with
take care,
pkot
--
Pawel Kot
_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users
[Prev in Thread] | Current Thread | [Next in Thread] |