summaryrefslogtreecommitdiff
path: root/m4/link-follow.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/link-follow.m4')
-rw-r--r--m4/link-follow.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/link-follow.m4 b/m4/link-follow.m4
index f75062ce41..69a7018771 100644
--- a/m4/link-follow.m4
+++ b/m4/link-follow.m4
@@ -1,4 +1,4 @@
-#serial 8
+#serial 9
dnl Run a program to determine whether link(2) follows symlinks.
dnl Set LINK_FOLLOWS_SYMLINKS accordingly.
@@ -20,6 +20,7 @@ AC_DEFUN([gl_AC_FUNC_LINK_FOLLOWS_SYMLINK],
# include <sys/types.h>
# include <sys/stat.h>
# include <unistd.h>
+# include <stdlib.h>
# define SAME_INODE(Stat_buf_1, Stat_buf_2) \
((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \