having it depend on HAVE_SYS_TYPES_H.
* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
xreadlink.c now includes it unconditionally.
Patch proposed in
<http://mail.gnu.org/archive/html/bug-gnulib/2003-06/msg00167.html>.
+2003-07-01 Paul Eggert <eggert@twinsun.com>
+
+ * xreadlink.c: Include <sys/types.h> unconditionally, instead of
+ having it depend on HAVE_SYS_TYPES_H.
+
2003-06-25 Bruno Haible <bruno@clisp.org>
* readlink.c: New file.
#endif
#include <limits.h>
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+#include <sys/types.h>
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
+2003-07-01 Paul Eggert <eggert@twinsun.com>
+
+ * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
+ xreadlink.c now includes it unconditionally.
+
2003-07-01 Bruno Haible <bruno@clisp.org>
* ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
[
dnl Prerequisites of lib/xreadlink.c.
AC_REQUIRE([gt_TYPE_SSIZE_T])
- AC_CHECK_HEADERS_ONCE(stdlib.h sys/types.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(stdlib.h unistd.h)
])