]> granicus.if.org Git - strace/commitdiff
2002-12-15 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Mon, 16 Dec 2002 09:53:38 +0000 (09:53 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 16 Dec 2002 09:53:38 +0000 (09:53 +0000)
* aclocal.m4 (AC_STAT64): Include <linux/types.h> before <asm/stat.h>
in test.  Test our own #ifdef LINUX rather than predefined `linux'.

aclocal.m4

index c1a0b21d5c8a95a57349ad525743a168011a8566..6d1ad192dd8bdbd4ad49ebb5a4d5e303c0331a2c 100644 (file)
@@ -310,7 +310,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_TRY_COMPILE([#ifdef linux
+[AC_TRY_COMPILE([#ifdef LINUX
+#include <linux/types.h>
 #include <asm/stat.h>
 #else
 #include <sys/stat.h>