ReactOS  0.4.10-dev-509-g12e8d7f
types.h
Go to the documentation of this file.
1 /* @(#)types.h 1.5 09/10/22 Copyright 2006-2009 J. Schilling */
2 /*
3  * Abstraction from sys/types.h
4  *
5  * Copyright (c) 2006-2009 J. Schilling
6  */
7 /*
8  * The contents of this file are subject to the terms of the
9  * Common Development and Distribution License, Version 1.0 only
10  * (the "License"). You may not use this file except in compliance
11  * with the License.
12  *
13  * See the file CDDL.Schily.txt in this distribution for details.
14  *
15  * When distributing Covered Code, include this CDDL HEADER in each
16  * file and include the License file CDDL.Schily.txt from this distribution.
17  */
18 
19 #ifndef _SCHILY_TYPES_H
20 #define _SCHILY_TYPES_H
21 
22 #ifndef _SCHILY_MCONFIG_H
23 #include <schily/mconfig.h>
24 #endif
25 
26 #ifdef HAVE_SYS_TYPES_H
27 #ifndef _INCL_SYS_TYPES_H
28 #include <sys/types.h>
29 #define _INCL_SYS_TYPES_H
30 #endif
31 #else
32 #ifdef HAVE_TYPES_H
33 #ifndef _INCL_TYPES_H
34 #include <types.h>
35 #define _INCL_TYPES_H
36 #endif
37 #endif
38 #endif
39 
40 #ifdef HAVE_STDDEF_H
41 #ifndef _INCL_STDDEF_H
42 #include <stddef.h> /* For offsetof(), ptrdiff_t, wchar_t, size_t */
43 #define _INCL_STDDEF_H
44 #endif
45 #endif
46 
47 #endif /* _SCHILY_TYPES_H */