diff options
author | Deposite Pirate | 2018-09-16 22:58:13 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 22:58:13 +0200 |
commit | 009c009a6b8585dc6b528bc0d6b5e1e6659518f9 (patch) | |
tree | f6dd133669a7891d65eae4a73c1feca6f02e3a79 /config.h.in | |
parent | 0d8f2f9042608685594b18377961b76c6f93dbfc (diff) |
Add config.h and another file.
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> |