$NetBSD: patch-ay,v 1.2 2018/02/20 08:35:52 dholland Exp $

Use standard headers.
Use ctype.h correctly.

--- rplayd/connection.c.orig	1999-03-10 07:58:03.000000000 +0000
+++ rplayd/connection.c
@@ -25,7 +25,8 @@
 #include "config.h"
 #endif
 #include <sys/time.h>
-#include <sys/errno.h>
+#include <errno.h>
+#include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h>
 #ifdef HAVE_STRING_H
@@ -1741,7 +1742,7 @@ event_update(c)
 	if (c->event->success)
 	{
 	    if (c->event->start[0] != '\0'
-		&& isascii(c->event->start[0]))
+		&& isascii((unsigned char)c->event->start[0]))
 	    {
 		b = c->event->buffer;	/* save the event's buffer */
 		c->event->buffer = NULL;
