Fix spurious failure of AC_STAT64 test
* acinclude.m4 (AC_STAT64): Include <sys/types.h> first.
This commit is contained in:
parent
840d85b3e5
commit
3de3d6bf5a
@ -196,7 +196,8 @@ dnl ### A macro to determine whether stat64 is defined.
|
||||
AC_DEFUN([AC_STAT64],
|
||||
[AC_MSG_CHECKING(for stat64 in (asm|sys)/stat.h)
|
||||
AC_CACHE_VAL(ac_cv_type_stat64,
|
||||
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef LINUX
|
||||
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
|
||||
#ifdef LINUX
|
||||
#include <linux/types.h>
|
||||
#include <asm/stat.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user