diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..3fc4caa --- /dev/null +++ b/config.h.in @@ -0,0 +1,41 @@ +#cmakedefine HAVE_STRINGS_H 1 +#cmakedefine HAVE_ERRNO_H 1 +#cmakedefine HAVE_FCNTL_H 1 +#cmakedefine HAVE_IO_H 1 + +#cmakedefine HAVE_STRERROR 1 + +#define STDC_HEADERS 1 + +#ifdef STDC_HEADERS +#include <stdlib.h> +#include <string.h> +#else /* Not STDC_HEADERS */ +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif +extern void exit (); +extern char *malloc (); +#endif /* STDC_HEADERS */ + +#ifdef HAVE_FCNTL_H +#include <fcntl.h> +#endif + +#ifdef HAVE_IO_H +#include <io.h> +#endif + +#ifdef HAVE_ERRNO_H +#include <errno.h> +#else +#ifndef HAVE_STRERROR +extern int errno, sys_nerr; +extern char *sys_errlist[]; +#else +extern int errno; +char *strerror(); +#endif +#endif + +#include <stdio.h> |