Get xfstests building on irix using root/toolroot.
[xfstests-dev.git] / src / global.h
1 /*
2  * Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
3  * 
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of version 2 of the GNU General Public License as
6  * published by the Free Software Foundation.
7  * 
8  * This program is distributed in the hope that it would be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * 
12  * Further, this software is distributed without any warranty that it is
13  * free of the rightful claim of any third person regarding infringement
14  * or the like.  Any license provided herein, whether implied or
15  * otherwise, applies only to this software file.  Patent licenses, if
16  * any, provided herein do not apply to combinations of this program with
17  * other software, or any other product whatsoever.
18  * 
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, write the Free Software Foundation, Inc., 59
21  * Temple Place - Suite 330, Boston MA 02111-1307, USA.
22  * 
23  * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24  * Mountain View, CA  94043, or:
25  * 
26  * http://www.sgi.com 
27  * 
28  * For further information regarding this notice, see: 
29  * 
30  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
31  */
32  
33 #ifndef GLOBAL_H
34 #define GLOBAL_H
35
36 #include <config.h>
37
38 #ifdef sgi
39 #include <../../xfsprogs/include/irix.h>
40 #endif
41
42 #ifdef HAVE_XFS_LIBXFS_H
43 #include <xfs/libxfs.h>
44 #endif
45
46 #ifdef HAVE_XFS_JDM_H
47 #include <xfs/jdm.h>
48 #endif
49
50 #ifdef HAVE_ATTR_ATTRIBUTES_H
51 #include <attr/attributes.h>
52 #endif
53
54 #ifdef HAVE_SYS_TYPES_H
55 #include <sys/types.h>
56 #endif
57
58 #ifdef HAVE_SYS_STAT_H
59 #include <sys/stat.h>
60 #endif
61
62 #ifdef HAVE_SYS_STATVFS_H
63 #include <sys/statvfs.h>
64 #endif
65
66 #ifdef HAVE_SYS_TIME_H
67 #include <sys/time.h>
68 #endif
69
70 #ifdef HAVE_SYS_IOCTL_H
71 #include <sys/ioctl.h>
72 #endif
73
74 #ifdef HAVE_SYS_WAIT_H
75 #include <sys/wait.h>
76 #endif
77
78 #ifdef HAVE_MALLOC_H
79 #include <malloc.h>
80 #endif
81
82 #ifdef HAVE_DIRENT_H
83 #include <dirent.h>
84 #endif
85
86 #ifdef HAVE_STDLIB_H
87 #include <stdlib.h>
88 #endif
89
90 #ifdef HAVE_UNISTD_H
91 #include <unistd.h>
92 #endif
93
94 #ifdef HAVE_ERRNO_H
95 #include <errno.h>
96 #endif
97
98 #ifdef HAVE_STRING_H
99 #include <string.h>
100 #endif
101
102 #ifdef HAVE_SYS_FCNTL_H
103 #include <fcntl.h>
104 #endif
105
106 #ifdef HAVE_TIME_H
107 #include <sys/time.h>
108 #endif
109
110 #ifdef HAVE_WAIT_H
111 #include <sys/wait.h>
112 #endif
113
114 #ifdef HAVE_DIRENT_H
115 #include <dirent.h>
116 #endif
117
118 #ifdef HAVE_SYS_PARAM_H
119 #include <sys/param.h>
120 #endif
121
122 #ifdef HAVE_SYS_ATTRIBUTES_H
123 #include <sys/attributes.h>
124 #endif
125
126 #ifdef HAVE_LIBGEN_H
127 #include <libgen.h>
128 #endif
129
130 #ifdef HAVE_ASSERT_H
131 #include <assert.h>
132 #endif
133
134 #ifdef STDC_HEADERS
135 #include <signal.h>
136 #endif
137
138 #ifdef HAVE_STRINGS_H
139 #include <strings.h>
140 #endif
141
142 #ifdef HAVE_SYS_SYSSGI_H
143 #include <sys/syssgi.h>
144 #endif
145
146 #ifdef HAVE_SYS_UUID_H
147 #include <sys/uuid.h>
148 #endif
149
150 #ifdef HAVE_SYS_FS_XFS_FSOPS_H
151 #include <sys/fs/xfs_fsops.h>
152 #endif
153
154 #ifdef HAVE_SYS_FS_XFS_ITABLE_H
155 #include <sys/fs/xfs_itable.h>
156 #endif
157
158 #ifdef HAVE_BSTRING_H
159 #include <bstring.h>
160 #endif
161
162 #ifdef HAVE_SYS_PARAM_H
163 #include <sys/param.h>
164 #endif
165
166 #endif