summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-statvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bsd-statvfs.h')
-rw-r--r--openbsd-compat/bsd-statvfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/bsd-statvfs.h b/openbsd-compat/bsd-statvfs.h
index 057407cc..dfd60997 100644
--- a/openbsd-compat/bsd-statvfs.h
+++ b/openbsd-compat/bsd-statvfs.h
@@ -1,4 +1,4 @@
-/* $Id: bsd-statvfs.h,v 1.2 2014/01/17 07:10:59 dtucker Exp $ */
+/* $Id: bsd-statvfs.h,v 1.3 2014/01/17 07:48:22 dtucker Exp $ */
/*
* Copyright (c) 2008,2014 Darren Tucker <dtucker@zip.com.au>
@@ -18,6 +18,8 @@
#include "includes.h"
+#if !defined(HAVE_STATVFS) || !defined(HAVE_FSTATVFS)
+
#include <sys/types.h>
#ifdef HAVE_SYS_MOUNT_H
@@ -27,8 +29,6 @@
#include <sys/statfs.h>
#endif
-#if !defined(HAVE_STATVFS) || !defined(HAVE_FSTATVFS)
-
#ifndef HAVE_FSBLKCNT_T
typedef unsigned long fsblkcnt_t;
#endif