1 /* $Id: defines.h 9778 2015-01-07 20:50:16Z iulius $ 2 ** 3 ** Portable defines used by other INN header files. 4 ** 5 ** In order to make the libraries built by INN usable by other software, 6 ** INN needs to install several header files. Installing autoconf- 7 ** generated header files, however, is a bad idea, since the defines will 8 ** conflict with other software that uses autoconf. 9 ** 10 ** This header contains common definitions, such as internal typedefs and 11 ** macros, common to INN's header files but not based on autoconf probes. 12 ** As such, it's limited in what it can do; if compiling software against 13 ** INN's header files on a system not supporting basic ANSI C features 14 ** (such as const) or standard types (like size_t), the software may need 15 ** to duplicate the tests that INN itself performs, generate a config.h, 16 ** and make sure that config.h is included before any INN header files. 17 */ 18 19 #ifndef INN_DEFINES_H 20 #define INN_DEFINES_H 1 21 22 #include <inn/system.h> 23 #include "inn/macros.h" 24 #include "inn/portable-stdbool.h" 25 26 /* TODO: Remove this file (defines.h), now that it has been split 27 ** into other headers. 28 */ 29 30 #endif /* !INN_DEFINES_H */ 31