aboutsummaryrefslogtreecommitdiff
path: root/e2fslib/et/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'e2fslib/et/internal.h')
-rw-r--r--e2fslib/et/internal.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/e2fslib/et/internal.h b/e2fslib/et/internal.h
new file mode 100644
index 0000000..30b1921
--- /dev/null
+++ b/e2fslib/et/internal.h
@@ -0,0 +1,30 @@
+/*
+ * internal include file for com_err package
+ *
+ * Permission to use, copy, modify, and distribute this software and
+ * its documentation for any purpose is hereby granted, provided that
+ * the names of M.I.T. and the M.I.T. S.I.P.B. not be used in
+ * advertising or publicity pertaining to distribution of the software
+ * without specific, written prior permission. M.I.T. and the
+ * M.I.T. S.I.P.B. make no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without
+ * express or implied warranty.
+ */
+#ifndef __STDC__
+#undef const
+#define const
+#endif
+
+#include <errno.h>
+
+#ifdef NEED_SYS_ERRLIST
+extern char const * const sys_errlist[];
+extern const int sys_nerr;
+#endif
+
+/* AIX and Ultrix have standard conforming header files. */
+#if !defined(ultrix) && !defined(_AIX)
+#ifdef __STDC__
+void perror (const char *);
+#endif
+#endif