pkgsrc/comms/modemd/patches/patch-ak
obache 4fa19ac0f0 Include <stdlib.h> not only NetBSD.
It already included unconditionally with other patches,
and fixes build failure on other platforms.
2010-12-30 09:02:51 +00:00

12 lines
363 B
Text

$NetBSD: patch-ak,v 1.5 2010/12/30 09:02:52 obache Exp $
--- common/atparse.c.orig 1996-04-30 07:02:36.000000000 +0000
+++ common/atparse.c
@@ -45,6 +45,7 @@ static char copyright[] =
#include "cdefs.h"
#include "global.h"
#include <ctype.h>
+#include <stdlib.h>
/* Convert a string of AT commands into a vector of pointers to individual
commands. */