projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mkdtemp can now use the full <inttypes.h>.
[pspp]
/
lib
/
mkdtemp.c
diff --git
a/lib/mkdtemp.c
b/lib/mkdtemp.c
index 8bc04121ddf0f7a35f2416968056d114eafa31b3..3228f0557655a6dbec4924326391adf57dfb6e16 100644
(file)
--- a/
lib/mkdtemp.c
+++ b/
lib/mkdtemp.c
@@
-30,6
+30,7
@@
#endif
#include <stddef.h>
#endif
#include <stddef.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
@@
-38,13
+39,6
@@
# define TMP_MAX 238328
#endif
# define TMP_MAX 238328
#endif
-#if HAVE_STDINT_H || _LIBC
-# include <stdint.h>
-#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-
#include <unistd.h>
#if HAVE_GETTIMEOFDAY || _LIBC
#include <unistd.h>
#if HAVE_GETTIMEOFDAY || _LIBC