chiark / gitweb /
More docs improvlements.
[adns.git] / acconfig.h
index 1599dc8c5c17e2473b4e719ff0671b3ba42d4461..96f0889d932e9f68c8e8fa285bf3ef72818fe3f5 100644 (file)
@@ -4,11 +4,11 @@
  */
 /*
  *  This file is
- *    Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
+ *    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
  *
  *  It is part of adns, which is
  *    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
- *    Copyright (C) 1999 Tony Finch <dot@dotat.at>
+ *    Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
  *  
  *  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
 
 
 /* Use the definitions: */
 
+#ifndef HAVE_INLINE
+#define inline
+#endif
+
 #ifdef HAVE_POLL
 #include <sys/poll.h>
 #else
@@ -107,3 +114,7 @@ struct pollfd { int fd; short events; short revents; };
 #ifdef HAVEUSE_RPCTYPES_H
 #include <rpc/types.h>
 #endif
+
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif