$OpenBSD$

Index: src/filelist.c
--- src/filelist.c.orig
+++ src/filelist.c
@@ -17,6 +17,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
 
 
+#include <ctype.h>
 #include "config.h"
 #include "const.h"
 #include "newstr.h"
