Dear Dr. Dumas,

I've encountered a build problem in Givaro 3.2.6 on MacOS X 10.5. The  
uint type used in src/kernel/zpz/givzpz32std.inl for example is not  
available unless sys/types.h is included. The following patch fixes  
the problem for me:

--- src/kernel/system/givbasictype.h.ORIG       2007-11-01  
15:17:57.000000000 +0100
+++ src/kernel/system/givbasictype.h    2007-11-01 15:18:33.000000000 +0100
@@ -11,6 +11,9 @@
  #include "givaro/givconfig.h"

  #include <stdlib.h> // for size_t
+#ifdef MACOSX
+#  include <sys/types.h> // needed on MacOS X 10.5 for uint type
+#endif

  // -- Neutral type: definition of zero and one
  class Neutral {

---

Kindest Regards,
Ralf-Philipp Weinmann

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to