From 770d3166594b32d679b3ab98dfc6aef7c6a21745 Mon Sep 17 00:00:00 2001 From: fluffymormegil Date: Sat, 23 Oct 2010 23:59:54 +0100 Subject: [PATCH] Made stlprintf actually build --- include/libmormegil/stlprintf.hh | 9 +++++---- src/stlprintf.cc | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/libmormegil/stlprintf.hh b/include/libmormegil/stlprintf.hh index 3378098..c0931b2 100644 --- a/include/libmormegil/stlprintf.hh +++ b/include/libmormegil/stlprintf.hh @@ -1,4 +1,4 @@ -/* stlprintf.hh - (v)sprintf-for-STL-strings for Martin's Dungeon Bash +/* stlprintf.hh - (v)sprintf-for-STL-strings for libmormegil * * Copyright 2009 Martin Read and Stefan O'Rear * @@ -24,12 +24,13 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef STLPRINTF_HH -#define STLPRINTF_HH +#ifndef libmormegil_stlprintf_hh +#define libmormegil_stlprintf_hh #include #include -namespace libmrl +/* Originally provided for dungeonbash. */ +namespace libmormegil { extern std::string vstlprintf(const char *fmt, va_list args); extern std::string stlprintf(const char *fmt, ...); diff --git a/src/stlprintf.cc b/src/stlprintf.cc index a50fb3a..59dc90c 100644 --- a/src/stlprintf.cc +++ b/src/stlprintf.cc @@ -27,6 +27,7 @@ #define STLPRINTF_CC #include +#include #include #include -- 2.11.0