pkgsrc/comms/modemd/patches/patch-ak
2007-10-10 16:53:58 +00:00

14 lines
426 B
Text

$NetBSD: patch-ak,v 1.4 2007/10/10 16:53:58 rillig Exp $
--- common/atparse.c.orig 1996-04-30 07:02:36.000000000 +0000
+++ common/atparse.c 2007-10-10 16:29:50.000000000 +0000
@@ -45,6 +45,9 @@ static char copyright[] =
#include "cdefs.h"
#include "global.h"
#include <ctype.h>
+#ifdef __NetBSD__
+#include <stdlib.h>
+#endif
/* Convert a string of AT commands into a vector of pointers to individual
commands. */