From 69c7524909cec83591a6cea56722753922d9999a Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 19 Jan 2015 14:54:16 +0000 Subject: Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX and HOST_NAME_MAX+1, respectively. ok doug@ --- xevents.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xevents.c') diff --git a/xevents.c b/xevents.c index 1f297a5..b158288 100644 --- a/xevents.c +++ b/xevents.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.115 2014/09/27 19:04:32 okan Exp $ + * $OpenBSD: xevents.c,v 1.116 2015/01/19 14:54:16 okan Exp $ */ /* @@ -24,11 +24,12 @@ * management of the xevent's. */ -#include +#include #include #include #include +#include #include #include #include -- cgit v1.2.3-2-gb3c3