3.0.20 doesn't build on Tru64 UNIX

Albert Chin samba-technical at mlists.thewrittenword.com
Wed Nov 30 21:31:17 GMT 2005


With the Compaq DTK compiler (commercial version), 3.0.20 doesn't
build because uint8_t is unknown. The patch below fixes it.

This shouldn't cause any problems as we've built on most versions of
Solaris, AIX, HP-UX, IRIX, Tru64 UNIX, and RHEL.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
Index: source/include/includes.h
===================================================================
--- source/include/includes.h.orig	2005-11-30 12:14:40.401530000 -0600
+++ source/include/includes.h	2005-11-30 12:14:56.074814000 -0600
@@ -103,6 +103,14 @@
 #include <sys/resource.h>
 #endif
 
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+#  include <stdint.h>
+# endif
+#endif
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif


More information about the samba-technical mailing list