You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jf...@apache.org on 2002/03/07 17:58:02 UTC
cvs commit: apr/file_io/unix mktemp.c
jfclere 02/03/07 08:58:02
Modified: file_io/unix mktemp.c
Log:
Make include inttypes.h conditional to HAVE_INTTYPES_H.
Revision Changes Path
1.22 +2 -0 apr/file_io/unix/mktemp.c
Index: mktemp.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/mktemp.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- mktemp.c 12 Feb 2002 01:27:09 -0000 1.21
+++ mktemp.c 7 Mar 2002 16:58:02 -0000 1.22
@@ -94,7 +94,9 @@
#if defined(SVR4) || defined(WIN32) || defined(NETWARE)
#ifdef SVR4
+#if HAVE_INTTYPES_H
#include <inttypes.h>
+#endif
#endif
#define arc4random() rand()
#define seedrandom(a) srand(a)