summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-02 07:25:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-02 07:25:20 (GMT)
commit1993f3bd9366931d6bcd1f374b8851435cb725c0 (patch)
tree2afeb3e7386f80bfd0c6f729f4e9b7ae7d259bd5 /unix/tcl.m4
parent170f702394849676a763f2bc393bb4067022cda3 (diff)
downloadtk-1993f3bd9366931d6bcd1f374b8851435cb725c0.zip
tk-1993f3bd9366931d6bcd1f374b8851435cb725c0.tar.gz
tk-1993f3bd9366931d6bcd1f374b8851435cb725c0.tar.bz2
Bug [http://core.tcl.tk/tcl/tktview?name=32afa6e256|32afa6e256]: dirent64 check is incorrect in tcl.m4. Thanks to Brian Griffin.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 850e940..bac5ebe 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2776,7 +2776,7 @@ AC_DEFUN([SC_TCL_64BIT_FLAGS], [
# Now check for auxiliary declarations
AC_CACHE_CHECK([for struct dirent64], tcl_cv_struct_dirent64,[
AC_TRY_COMPILE([#include <sys/types.h>
-#include <sys/dirent.h>],[struct dirent64 p;],
+#include <dirent.h>],[struct dirent64 p;],
tcl_cv_struct_dirent64=yes,tcl_cv_struct_dirent64=no)])
if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
AC_DEFINE(HAVE_STRUCT_DIRENT64, 1, [Is 'struct dirent64' in <sys/types.h>?])