Whamcloud - gitweb
LU-4953 lprocfs: fix missing target_obds on multiple mounts
[fs/lustre-release.git] / lustre / include / darwin / obd_cksum.h
1 /*
2  *  Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
3  *
4  *   This file is part of Lustre, http://www.lustre.org.
5  *
6  *   Lustre is free software; you can redistribute it and/or
7  *   modify it under the terms of version 2 of the GNU General Public
8  *   License as published by the Free Software Foundation.
9  *
10  *   Lustre is distributed in the hope that it will be useful,
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *   GNU General Public License for more details.
14  *
15  *   You should have received a copy of the GNU General Public License
16  *   along with Lustre; if not, write to the Free Software
17  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  *
19  */
20
21 #ifndef __DARWIN_OBD_CKSUM
22 #define __DARWIN_OBD_CKSUM
23
24 #ifndef __OBD_CKSUM
25 #error Do not #include this file directly. #include <obd_chsum.h> instead
26 #endif
27
28 #include <libcfs/libcfs.h>
29
30 #if !defined(__KERNEL__) && defined(HAVE_ADLER)
31 #  include <zlib.h>
32 #endif /* !__KERNEL__ */
33
34 #endif