From c8b95b81b69af4a0f90340f5874dcfe6ff057a9d Mon Sep 17 00:00:00 2001 From: ncopa Date: Tue, 24 Oct 2006 12:26:42 +0000 Subject: initial import based on 1.0.1 --- src/headers.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/headers.h (limited to 'src/headers.h') 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 +#endif +#ifdef HAVE_SYS_SYSMACROS_H +# include +#endif -- cgit v1.2.3