add missing include (gcc 4.9)

This commit is contained in:
naddy 2018-11-18 19:12:13 +00:00
parent cc82f104f0
commit 1443c6d3e8
2 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2018/10/28 08:13:41 bentley Exp $
# $OpenBSD: Makefile,v 1.18 2018/11/18 19:12:13 naddy Exp $
# gcc spins compiling d_mos7
NOT_FOR_ARCHS= m88k
@ -6,7 +6,7 @@ NOT_FOR_ARCHS= m88k
COMMENT= Gnu Circuit Analysis Package
DISTNAME= gnucap-0.35
REVISION = 6
REVISION = 7
CATEGORIES= cad
HOMEPAGE= http://www.gnucap.org/

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-src_md_h,v 1.1.1.1 2006/12/30 15:42:53 steven Exp $
--- src/md.h.orig Mon Aug 28 08:15:43 2006
+++ src/md.h Sat Dec 30 13:00:09 2006
$OpenBSD: patch-src_md_h,v 1.2 2018/11/18 19:12:13 naddy Exp $
Index: src/md.h
--- src/md.h.orig
+++ src/md.h
@@ -32,6 +32,8 @@
/*--------------------------------------------------------------------------*/
/* std collection of includes */
@ -10,3 +11,11 @@ $OpenBSD: patch-src_md_h,v 1.1.1.1 2006/12/30 15:42:53 steven Exp $
#include <new>
#include <cstdarg>
#include <cassert>
@@ -43,6 +45,7 @@
#include <cerrno>
#include <csetjmp>
#include <csignal>
+#include <cstring>
#include <iostream>
// types
#include <complex>