utimens: cache whether utimensat syscall works
[pspp] / lib / readutmp.c
index 88aed38d417ec62af84ffae48770180044b508b5..aeec2057232dfae3c1bdaf88870c443b4f758ded 100644 (file)
@@ -31,6 +31,7 @@
 #include <stdbool.h>
 #include <string.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #include "xalloc.h"
 
 # include "unlocked-io.h"
 #endif
 
-#ifndef SIZE_MAX
-# define SIZE_MAX ((size_t) -1)
-#endif
-
 /* Copy UT->ut_name into storage obtained from malloc.  Then remove any
    trailing spaces from the copy, NUL terminate it, and return the copy.  */