Next: Functions
Up: Creating config.h by hand
Previous: Compiler Specific
There are a number of options that define whether header files are
available on your system. Don't worry if some of them are not. If a
header file is present, define ``HAVE_name-of-header'':
HAVE-_ERRNO_H,
HAVE-_FCNTL_H,
HAVE-_IO_H,
HAVE-_MALLOC_H,
HAVE-_MEMORY_H,
HAVE-_UNISTD_H and
HAVE-_SYS_TIME_H
(for <sys/time.h>). Some other include files are needed
as well, but there are no macros for mandatory include files.
There's also a number of header-specific definitions that do not fit
into the general present-or-not-present scheme.
- STDC_HEADERS
- Define if your header files conform to ANSI C. This requires
that stdarg.h is present, that stdlib.h is
available, defining both malloc() and free(), and
that string.h defines the memory functions family
(memcpy() etc).
- HAVE_STDARG_H
- Implicitly set by STDC-_HEADERS. You only need to define
this one if STDC-_HEADERS is not defined but
<stdarg.h> is available.
- HAVE_VARARGS_H
- varargs can be used as an alternative to stdarg. Define
if the above two values are undefined and <varargs.h> is
available.
- TIME_WITH_SYS_TIME
- Define if HAVE-_SYS-_TIME_H and if both <sys/time.h>
and <time.h> can be included without conflicting definitions.
Debian Build Daemon
2002-04-15