summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-02 07:17:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-02 07:17:19 (GMT)
commit73faa3bbb6f9440fb35f0efe0e77ff4c34b96f1f (patch)
tree522f1f68ade76a631d58345f7afb347e295b3351 /unix/tcl.m4
parenteec0dcb53009191ddf6086200bfd7a83f16f788e (diff)
parent89b2fc09822962754330b271be36df0dd2218c34 (diff)
downloadtcl-73faa3bbb6f9440fb35f0efe0e77ff4c34b96f1f.zip
tcl-73faa3bbb6f9440fb35f0efe0e77ff4c34b96f1f.tar.gz
tcl-73faa3bbb6f9440fb35f0efe0e77ff4c34b96f1f.tar.bz2
Bug [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 43e2b78..b69d5a6 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2640,7 +2640,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>?])