Cleanup AFS_*LINUX_ENV usage
[openafs.git] / src / afs / afsincludes.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef AFS_INCLUDES_H
11 #define AFS_INCLUDES_H 1
12
13 #include <afsconfig.h>
14
15 #ifdef UKERNEL
16 # include <UKERNEL/afsincludes.h>
17 #else
18
19 /* AFS based headers */
20 # include "afs/stds.h"
21 # ifdef AFS_AIX_ENV
22 #  include "osi_vfs.h"
23 # elif defined(AFS_HPUX_ENV) || defined(AFS_NBSD_ENV)
24 #  include "osi_vfs.h"
25 # endif
26 # if defined(AFS_SGI_ENV) || defined(AFS_LINUX_ENV)
27 #  include "osi_vfs.h"
28 # endif
29 # include "rx/rx.h"
30 # include "afs/afs_osi.h"
31 # include "afs/lock.h"
32 # include "afs/volerrors.h"
33 # include "afs/voldefs.h"
34 # ifdef AFS_LINUX_ENV
35 #  ifdef TRUE
36 #   undef TRUE
37 #   undef FALSE
38 #  endif
39 #  undef __NFDBITS
40 #  undef __FDMASK
41 # endif
42 # include "afsint.h"
43 # include "afs/exporter.h"
44 # include "vldbint.h"
45 # include "afs/afs.h"
46 # include "afs/afs_chunkops.h"
47 # include "rx/rxkad.h"
48 # include "afs/prs_fs.h"
49 # include "afs/dir.h"
50 # include "afs/afs_axscache.h"
51 # include "afs/icl.h"
52 # include "afs/afs_stats.h"
53 # include "afs/afs_prototypes.h"
54 # include "afs/discon.h"
55 # if defined(AFS_LINUX_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
56 #  include "osi_machdep.h"
57 # endif
58
59 #endif
60
61 #endif /* AFS_INCLUDES_H */