1174294Sobrien/*
2174294Sobrien * Copyright (c) 1997-2006 Erez Zadok
3174294Sobrien * Copyright (c) 1990 Jan-Simon Pendry
4174294Sobrien * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
5174294Sobrien * Copyright (c) 1990 The Regents of the University of California.
6174294Sobrien * All rights reserved.
7174294Sobrien *
8174294Sobrien * This code is derived from software contributed to Berkeley by
9174294Sobrien * Jan-Simon Pendry at Imperial College, London.
10174294Sobrien *
11174294Sobrien * Redistribution and use in source and binary forms, with or without
12174294Sobrien * modification, are permitted provided that the following conditions
13174294Sobrien * are met:
14174294Sobrien * 1. Redistributions of source code must retain the above copyright
15174294Sobrien *    notice, this list of conditions and the following disclaimer.
16174294Sobrien * 2. Redistributions in binary form must reproduce the above copyright
17174294Sobrien *    notice, this list of conditions and the following disclaimer in the
18174294Sobrien *    documentation and/or other materials provided with the distribution.
19174294Sobrien * 3. All advertising materials mentioning features or use of this software
20174294Sobrien *    must display the following acknowledgment:
21174294Sobrien *      This product includes software developed by the University of
22174294Sobrien *      California, Berkeley and its contributors.
23174294Sobrien * 4. Neither the name of the University nor the names of its contributors
24174294Sobrien *    may be used to endorse or promote products derived from this software
25174294Sobrien *    without specific prior written permission.
26174294Sobrien *
27174294Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28174294Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29174294Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30174294Sobrien * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31174294Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32174294Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33174294Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34174294Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35174294Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36174294Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37174294Sobrien * SUCH DAMAGE.
38174294Sobrien *
39174294Sobrien *
40174294Sobrien * File: am-utils/include/mount_headers2.h
41174294Sobrien *
42174294Sobrien */
4382794Sobrien
44174294Sobrien
45174294Sobrien
4682794Sobrien#ifdef HAVE_RPCSVC_MOUNT_H
4782794Sobrien# include <rpcsvc/mount.h>
4882794Sobrien#endif /* HAVE_RPCSVC_MOUNT_H */
4982794Sobrien
5082794Sobrien#ifdef HAVE_MOUNT_H
5182794Sobrien# include <mount.h>
5282794Sobrien#endif /* HAVE_MOUNT_H */
5382794Sobrien
5482794Sobrien#ifdef HAVE_NFS_NFS_GFS_H
5582794Sobrien# include <nfs/nfs_gfs.h>
5682794Sobrien#endif /* HAVE_NFS_NFS_GFS_H */
5782794Sobrien
5882794Sobrien#ifdef HAVE_NFS_MOUNT_H
5982794Sobrien# include <nfs/mount.h>
6082794Sobrien#endif /* HAVE_NFS_MOUNT_H */
6182794Sobrien
6282794Sobrien#ifdef HAVE_SYS_FS_NFS_CLNT_H
6382794Sobrien# include <sys/fs/nfs_clnt.h>
6482794Sobrien#endif /* HAVE_SYS_FS_NFS_CLNT_H */
6582794Sobrien
6682794Sobrien#ifdef HAVE_LINUX_NFS_MOUNT_H
67174294Sobrien# ifndef _LINUX_NFS_H
68174294Sobrien#  define _LINUX_NFS_H
69174294Sobrien# endif /* not _LINUX_NFS_H */
70174294Sobrien# ifndef _LINUX_NFS2_H
71174294Sobrien#  define _LINUX_NFS2_H
72174294Sobrien# endif /* not _LINUX_NFS2_H */
73174294Sobrien# ifndef _LINUX_NFS3_H
74174294Sobrien#  define _LINUX_NFS3_H
75174294Sobrien# endif /* not _LINUX_NFS3_H */
76174294Sobrien# ifndef _LINUX_NFS_FS_H
77174294Sobrien#  define _LINUX_NFS_FS_H
78174294Sobrien# endif /* not _LINUX_NFS_FS_H */
79174294Sobrien# ifndef _LINUX_IN_H
80174294Sobrien#  define _LINUX_IN_H
81174294Sobrien# endif /* not _LINUX_IN_H */
82174294Sobrien# ifndef __KERNEL__
83174294Sobrien#  define __KERNEL__
84174294Sobrien# endif /* __KERNEL__ */
8582794Sobrien# include <linux/nfs_mount.h>
86174294Sobrien# undef __KERNEL__
8782794Sobrien#endif /* HAVE_LINUX_NFS_MOUNT_H */
88