X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=acconfig.h;h=96f0889d932e9f68c8e8fa285bf3ef72818fe3f5;hp=1599dc8c5c17e2473b4e719ff0671b3ba42d4461;hb=b6922f888d323a1f78570d8735400c06ee3b31e3;hpb=3d5cde09d167be1609d27d0d93de2096250a310c diff --git a/acconfig.h b/acconfig.h index 1599dc8..96f0889 100644 --- a/acconfig.h +++ b/acconfig.h @@ -4,11 +4,11 @@ */ /* * This file is - * Copyright (C) 1997-1999 Ian Jackson + * Copyright (C) 1997-2000 Ian Jackson * * It is part of adns, which is * Copyright (C) 1997-2000 Ian Jackson - * Copyright (C) 1999 Tony Finch + * Copyright (C) 1999-2000 Tony Finch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,6 +25,9 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Define if inline functions a la GCC are available. */ +#undef HAVE_INLINE + /* Define if function attributes a la GCC 2.5 and higher are available. */ #undef HAVE_GNUC25_ATTRIB @@ -44,6 +47,10 @@ /* Use the definitions: */ +#ifndef HAVE_INLINE +#define inline +#endif + #ifdef HAVE_POLL #include #else @@ -107,3 +114,7 @@ struct pollfd { int fd; short events; short revents; }; #ifdef HAVEUSE_RPCTYPES_H #include #endif + +#ifdef HAVE_SYS_SELECT_H +#include +#endif