AC_CHECK_SIZEOF([long])
AC_CHECK_SIZEOF([char *])
-AC_TYPE_U32
AC_TYPE_UMODE_T
AC_MANUAL_FORMAT
memcpy(dst, src, sizeof(uuid_t));
}
+typedef unsigned char __u8;
+typedef signed char __s8;
+typedef unsigned short __u16;
+typedef signed short __s16;
+typedef unsigned int __u32;
+typedef signed int __s32;
+typedef unsigned long long int __u64;
+typedef signed long long int __s64;
+
#define __int8_t int8_t
#define __int16_t int16_t
#define __int32_t int32_t
typedef __uint32_t xfs_dev_t;
typedef __int64_t xfs_daddr_t;
+typedef unsigned char __u8;
+typedef signed char __s8;
+typedef unsigned short __u16;
+typedef signed short __s16;
+typedef unsigned int __u32;
+typedef signed int __s32;
+typedef unsigned long long int __u64;
+typedef signed long long int __s64;
+
#define O_LARGEFILE 0
#define HAVE_FID 1
typedef __uint32_t xfs_dev_t;
typedef __int64_t xfs_daddr_t;
+typedef unsigned char __u8;
+typedef signed char __s8;
+typedef unsigned short __u16;
+typedef signed short __s16;
+typedef unsigned int __u32;
+typedef signed int __s32;
+typedef unsigned long long int __u64;
+typedef signed long long int __s64;
+
#define HAVE_FID 1
static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p)
typedef __int32_t xfs_dev_t;
typedef __int64_t xfs_daddr_t;
+typedef unsigned char __u8;
+typedef signed char __s8;
+typedef unsigned short __u16;
+typedef signed short __s16;
+typedef unsigned int __u32;
+typedef signed int __s32;
+typedef unsigned long long int __u64;
+typedef signed long long int __s64;
+
#define xfs_flock64 flock64
#define xfs_flock64_t struct flock64
#include <getopt.h>
#include <endian.h>
#include <stdbool.h>
+#include <asm/types.h>
static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p)
{
#include <limits.h>
#include <stdbool.h>
-#undef HAVE___U32
-#ifdef HAVE___U32
-#include <asm/types.h>
-#else
-typedef unsigned char __u8;
-typedef signed char __s8;
-typedef unsigned short __u16;
-typedef signed short __s16;
-typedef unsigned int __u32;
-typedef signed int __s32;
-typedef unsigned long long int __u64;
-typedef signed long long int __s64;
-#endif
-
typedef struct filldir filldir_t;
#if defined(__linux__)
-#
-# Check if we have a type for __u32
-#
-AC_DEFUN([AC_TYPE_U32],
- [ AC_MSG_CHECKING([for __u32 ])
- AC_TRY_COMPILE([
-#include <asm/types.h>
-#include <stdlib.h>
-#include <stddef.h>
- ], [
- __u32 u32;
- ], AC_DEFINE(HAVE___U32) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no))
- ])
#
# Check if we have umode_t
#