ChangeLog: add entry for "init.sh: automatically accommodate programs with the .exe...
[gnulib.git] / m4 / unlink.m4
index bed2466..c01d848 100644 (file)
@@ -1,5 +1,5 @@
-# unlink.m4 serial 2
-dnl Copyright (C) 2009 Free Software Foundation, Inc.
+# unlink.m4 serial 3
+dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -18,7 +18,7 @@ AC_DEFUN([gl_FUNC_UNLINK],
      fi
      AC_RUN_IFELSE(
        [AC_LANG_PROGRAM(
-         [[#include <stdio.h>
+         [[#include <unistd.h>
            #include <errno.h>
 ]], [[if (!unlink ("conftest.file/") || errno != ENOTDIR) return 1;
 #if HAVE_LSTAT