random_r: Support for MSVC 9.
authorBruno Haible <bruno@clisp.org>
Thu, 12 Jan 2012 20:58:09 +0000 (21:58 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 12 Jan 2012 20:58:09 +0000 (21:58 +0100)
* lib/random_r.c: Include stdint.h, not inttypes.h.

ChangeLog
lib/random_r.c

index 6b987ad..9a0a69a 100644 (file)
--- 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
index c9786ed..0494a9e 100644 (file)
@@ -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