summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-statvfs.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-10 00:27:24 +0000
committerColin Watson <cjwatson@debian.org>2014-02-10 02:40:28 +0000
commita2b8818c5d21cfcba443625251f691a2ea3a29c7 (patch)
tree8fe1fe448cde57eecf71a7bcd57186661b90313f /openbsd-compat/bsd-statvfs.h
parentd399ecd8eb7d4aed3b7ba0d2727e619607fb901b (diff)
parentee8d8b97cc2c6081df3af453a228992b87309ec4 (diff)
Merge 6.5p1.
* New upstream release (http://www.openssh.com/txt/release-6.5, LP: #1275068): - ssh(1): Add support for client-side hostname canonicalisation using a set of DNS suffixes and rules in ssh_config(5). This allows unqualified names to be canonicalised to fully-qualified domain names to eliminate ambiguity when looking up keys in known_hosts or checking host certificate names (closes: #115286).
Diffstat (limited to 'openbsd-compat/bsd-statvfs.h')
-rw-r--r--openbsd-compat/bsd-statvfs.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/openbsd-compat/bsd-statvfs.h b/openbsd-compat/bsd-statvfs.h
index da215ffc6..dfd609974 100644
--- a/openbsd-compat/bsd-statvfs.h
+++ b/openbsd-compat/bsd-statvfs.h
@@ -1,7 +1,7 @@
1/* $Id: bsd-statvfs.h,v 1.1 2008/06/08 17:32:29 dtucker Exp $ */ 1/* $Id: bsd-statvfs.h,v 1.3 2014/01/17 07:48:22 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2008 Darren Tucker <dtucker@zip.com.au> 4 * Copyright (c) 2008,2014 Darren Tucker <dtucker@zip.com.au>
5 * 5 *
6 * Permission to use, copy, modify, and distribute this software for any 6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above 7 * purpose with or without fee is hereby granted, provided that the above
@@ -18,14 +18,17 @@
18 18
19#include "includes.h" 19#include "includes.h"
20 20
21#if !defined(HAVE_STATVFS) || !defined(HAVE_FSTATVFS)
22
21#include <sys/types.h> 23#include <sys/types.h>
22 24
25#ifdef HAVE_SYS_MOUNT_H
26#include <sys/mount.h>
27#endif
23#ifdef HAVE_SYS_STATFS_H 28#ifdef HAVE_SYS_STATFS_H
24#include <sys/statfs.h> 29#include <sys/statfs.h>
25#endif 30#endif
26 31
27#ifndef HAVE_STATVFS
28
29#ifndef HAVE_FSBLKCNT_T 32#ifndef HAVE_FSBLKCNT_T
30typedef unsigned long fsblkcnt_t; 33typedef unsigned long fsblkcnt_t;
31#endif 34#endif