$OpenBSD: patch-src_fs_c,v 1.1 2008/09/30 09:54:19 landry Exp $ --- src/fs.c.orig Mon Sep 22 22:20:03 2008 +++ src/fs.c Mon Sep 22 22:21:42 2008 @@ -44,7 +44,7 @@ #include #endif -#if !defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) && !defined(__FreeBSD__) +#if !defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) && !defined (__OpenBSD__) && !defined(__FreeBSD__) #include #endif @@ -124,7 +124,7 @@ static void update_fs_stat(struct fs_stat *fs) void get_fs_type(const char *path, char *result) { -#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(__FreeBSD__) +#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) || defined(__FreeBSD__) || defined (__OpenBSD__) struct statfs s; if (statfs(path, &s) == 0) {