mkdtemp can now use the full <inttypes.h>.
[pspp] / lib / mkdtemp.c
index 8bc04121ddf0f7a35f2416968056d114eafa31b3..3228f0557655a6dbec4924326391adf57dfb6e16 100644 (file)
@@ -30,6 +30,7 @@
 #endif
 
 #include <stddef.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
 # 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