#include <sys/mman.h>
#include <sys/stat.h>
-#ifdef HAVE_SYS_SYSCALL_H
-#include <sys/syscall.h>
-#endif
#include <unistd.h>
#include <getopt.h>
#include <stdio.h>
#ifndef HAVE_CACHESTAT
-#ifndef SYS_cachestat
-#if defined (__alpha__)
-#define SYS_cachestat 561
-#else
-#define SYS_cachestat 451
-#endif
-#endif
+# ifdef HAVE_SYS_SYSCALL_H
+# include <sys/syscall.h>
+# endif
+
+# ifndef SYS_cachestat
+# if defined (__alpha__)
+# define SYS_cachestat 561
+# else
+# define SYS_cachestat 451
+# endif
+# endif
struct cachestat_range {
uint64_t off;
return syscall(SYS_cachestat, fd, cstat_range, cstat, flags);
}
-#define HAVE_CACHESTAT 1
-#endif // HAVE_CACHESTAT
+# define HAVE_CACHESTAT 1
+#endif /* !HAVE_CACHESTAT */
struct colinfo {
const char * const name;