$NetBSD: patch-aj,v 1.3 1999/11/15 14:25:09 rh Exp $

--- common/mcap.c.orig	Mon Nov 15 15:22:15 1999
+++ common/mcap.c	Mon Nov 15 15:22:15 1999
@@ -48,6 +48,10 @@
 #include "mcap.h"
 
 static void enter_modemcap PROTO ((char *));
+#ifdef __NetBSD__
+#include "stdlib.h"
+#endif
+
 static void parse_mcstring PROTO ((char *, struct modemcap *));
 static void read_mcap PROTO ((void));
 static void parse_modemcap PROTO ((char *, struct modemcap *));
