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 0362497..c942631 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 f785d09..e0dd8f2 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>