aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..57fce54
--- /dev/null
+++ b/config.h
@@ -0,0 +1,32 @@
+#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>