From 0a6d446c95e157d53df18572cc04c302c0d53214 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 16 May 2003 13:08:11 +0000 Subject: Still GETTEXT thing --- lib/String.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/String.cc b/lib/String.cc index ba84b4c..265883f 100644 --- a/lib/String.cc +++ b/lib/String.cc @@ -1,7 +1,8 @@ -#include +#include #include #include #include +#include #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -27,6 +28,10 @@ String::String(const String & s) : str(Base::strdup(s.str)), siz(s.siz) { #endif } +#ifndef asprintf +extern "C" int asprintf(char **, const char *, ...); +#endif + String::String(char c) : siz(1) { #ifdef DEBUG fprintf(stderr, _("Creating a string with `%c' at %p, this = %p\n"), c, str, this); -- cgit v1.2.3