From 06f652577d54e4a2b7d2724a1f9201e220d78159 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 23 Aug 2006 21:50:29 +0000 Subject: Add a test infrastructure and a very basic test for the client functionality so far. --- system.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 system.h (limited to 'system.h') diff --git a/system.h b/system.h new file mode 100644 index 0000000..4a8023e --- /dev/null +++ b/system.h @@ -0,0 +1,43 @@ +/* $Id: clibrary.h 7121 2005-01-06 00:40:37Z rra $ +** +** Declarations of routines and variables in the C library. Including this +** file is the equivalent of including all of the following headers, +** portably: +** +** #include +** #include +** #include +** #include +** #include +** #include +** #include +** +** Missing functions are provided via #define or prototyped if available from +** the util helper library. Also provides some standard #defines. +*/ + +#ifndef SYSTEM_H +#define SYSTEM_H 1 + +/* Make sure we have our configuration information. */ +#include + +/* A set of standard ANSI C headers. We don't care about pre-ANSI systems. */ +#include +#include +#include +#include +#include +#include +#include + +/* __attribute__ is available in gcc 2.5 and later, but only with gcc 2.7 + could you use the __format__ form of the attributes, which is what we use + (to avoid confusion with other macros). */ +#ifndef __attribute__ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(spec) /* empty */ +# endif +#endif + +#endif /* !CLIBRARY_H */ -- cgit v1.2.3