aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 22:54:11 +0200
committerDeposite Pirate2018-09-16 22:54:11 +0200
commit1c7d481d0104add72933c560d957a422e8636d84 (patch)
tree2ef71132559dd018c453f4617d92ce69394e42f0 /config.h
Initial commit.
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>