diff --git a/Changelog b/Changelog index 20df177..7368ed2 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,7 @@ [Changes 1.2c01] +* Prefer over (reported by ncopa). (caf) + * Fix overflow in say() when handling a maximum-length client message. (caf) * Remove WANT_CHAN_NICK_SERV define and include network services commands diff --git a/include/irc.h b/include/irc.h index f17d31c..8de9d41 100644 --- a/include/irc.h +++ b/include/irc.h @@ -78,13 +78,13 @@ extern char thing_star[4]; # endif /* HAVE_SYS_TIME_H */ #endif /* TIME_WITH_SYS_TIME */ -#ifdef HAVE_SYS_FCNTL_H -# include +#ifdef HAVE_FCNTL_H +#include #else - #ifdef HAVE_FCNTL_H - #include - #endif /* HAVE_FCNTL_H */ -#endif +# ifdef HAVE_SYS_FCNTL_H +# include +# endif +#endif /* HAVE_FCNTL_H */ #include #include diff --git a/include/irc_std.h b/include/irc_std.h index 960c3e3..85fa07e 100644 --- a/include/irc_std.h +++ b/include/irc_std.h @@ -62,11 +62,11 @@ /* * Deal with brokenness in and */ -#ifdef HAVE_SYS_FCNTL_H -# include +#ifdef HAVE_FCNTL_H +# include #else -# ifdef HAVE_FCNTL_H -# include +# ifdef HAVE_SYS_FCNTL_H +# include # endif #endif