C++ fixes for gcc 3.3.2

This commit is contained in:
naddy 2004-01-25 04:15:31 +00:00
parent 9b513654e5
commit 65f456d31a
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-util_CommandArgs_h,v 1.1 2004/01/25 04:15:31 naddy Exp $
--- util/CommandArgs.h.orig 2004-01-25 04:54:12.000000000 +0100
+++ util/CommandArgs.h 2004-01-25 04:54:29.000000000 +0100
@@ -1,6 +1,7 @@
#ifndef CRASH_COMMANDARGS
#define CRASH_COMMANDARGS
+#include <cassert>
#include <stdexcept>
#include <string>
#include <vector>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-util_Regex_h,v 1.1 2004/01/25 04:15:31 naddy Exp $
--- util/Regex.h.orig 2004-01-25 04:51:35.000000000 +0100
+++ util/Regex.h 2004-01-25 04:52:11.000000000 +0100
@@ -1,6 +1,7 @@
#ifndef CRASH_REGEX
#define CRASH_REGEX
+#include <cassert>
#include <cstring>
#include <string>
#include <map>