summaryrefslogtreecommitdiffstats
path: root/src/headers.h
diff options
context:
space:
mode:
authorncopa <ncopa@f176ef85-8d20-0410-844a-e957b5a1c371>2006-10-24 12:26:42 +0000
committerncopa <ncopa@f176ef85-8d20-0410-844a-e957b5a1c371>2006-10-24 12:26:42 +0000
commitc8b95b81b69af4a0f90340f5874dcfe6ff057a9d (patch)
tree94bc4f11d8c3466b02d5aee235ff15c4fed3c50f /src/headers.h
downloadalpine-baselayout-c8b95b81b69af4a0f90340f5874dcfe6ff057a9d.tar.bz2
alpine-baselayout-c8b95b81b69af4a0f90340f5874dcfe6ff057a9d.tar.xz
initial import based on 1.0.1
Diffstat (limited to 'src/headers.h')
-rw-r--r--src/headers.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/headers.h b/src/headers.h
new file mode 100644
index 0000000..1ebf79d
--- /dev/null
+++ b/src/headers.h
@@ -0,0 +1,26 @@
+/*
+ * header.h
+ * Dirty little file to include header files w/out autotools.
+ *
+ * Copyright 1999-2004 Gentoo Foundation
+ * Distributed under the terms of the GNU General Public License v2
+ * $Header$
+ */
+
+/* Common includes */
+#define HAVE_TIOCNOTTY
+#define HAVE_SETSID
+
+/* OS-specific includes */
+#if defined(__linux__)
+# define HAVE_SYS_SYSMACROS_H
+# define HAVE_ERROR_H
+#endif
+
+/* Now we actually include crap ;) */
+#ifdef HAVE_ERROR_H
+# include <error.h>
+#endif
+#ifdef HAVE_SYS_SYSMACROS_H
+# include <sys/sysmacros.h>
+#endif