changeset 12121:49d6e6e49816

linkat: avoid compilation failure * lib/linkat.c: Include <stdint.h> for use of SIZE_MAX.
author Jim Meyering <meyering@redhat.com>
date Tue, 06 Oct 2009 11:11:39 +0200
parents 0bc26baea4bf
children d74129242224
files ChangeLog lib/linkat.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/linkat.c
+++ b/lib/linkat.c
@@ -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>