changeset 16276:d43b527a2e6c

random_r: Support for MSVC 9. * lib/random_r.c: Include stdint.h, not inttypes.h.
author Bruno Haible <bruno@clisp.org>
date Thu, 12 Jan 2012 21:58:09 +0100
parents 053f5a861da8
children 58a55a7ffba8
files ChangeLog lib/random_r.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-12  Bruno Haible  <bruno@clisp.org>
+
+	random_r: Support for MSVC 9.
+	* lib/random_r.c: Include stdint.h, not inttypes.h.
+
 2012-01-12  Eric Blake  <eblake@redhat.com>
 
 	inet_ntop: guard extra work by IF_LINT
--- a/lib/random_r.c
+++ b/lib/random_r.c
@@ -61,7 +61,7 @@
 #include <limits.h>
 #include <stddef.h>
 #include <stdlib.h>
-#include <inttypes.h>
+#include <stdint.h>
 
 
 /* An improved random number generation package.  In addition to the standard