linkat: avoid compilation failure
authorJim Meyering <meyering@redhat.com>
Tue, 6 Oct 2009 09:11:39 +0000 (11:11 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 Oct 2009 09:11:39 +0000 (11:11 +0200)
* lib/linkat.c: Include <stdint.h> for use of SIZE_MAX.

ChangeLog
lib/linkat.c

index 03624976b5c88ff1432e82309f5d71aa4a0e8d3e..c94263155653c1212175055b7b20974edf890cca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-06  Jim Meyering  <meyering@redhat.com>
+
+       linkat: avoid compilation failure
+       * lib/linkat.c: Include <stdint.h> for use of SIZE_MAX.
+
 2009-10-05  Eric Blake  <ebb9@byu.net>
 
        linkat: support Linux 2.6.17
index f785d091f869d3936e660c817148e069043c5048..e0dd8f2867c334b91f4b825b2cd8c033739c788e 100644 (file)
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>