summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-13 16:20:10 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-13 16:20:10 +0100
commitbc7ce889e154a121fdbd0a8126c35194ee3a7b52 (patch)
tree78bf7ef47c08d761af7185369ce11edb50598772
parent204115b64b1984fd3f0e1b524a24a808581cb80a (diff)
downloadmana-client-bc7ce889e154a121fdbd0a8126c35194ee3a7b52.tar.gz
mana-client-bc7ce889e154a121fdbd0a8126c35194ee3a7b52.tar.bz2
mana-client-bc7ce889e154a121fdbd0a8126c35194ee3a7b52.tar.xz
mana-client-bc7ce889e154a121fdbd0a8126c35194ee3a7b52.zip
Fixed compile error with GCC 4.4 reported by Martin Michlmayr.
(cherry picked from eAthena client) Conflicts: ChangeLog
-rw-r--r--src/utils/strprintf.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/utils/strprintf.cpp b/src/utils/strprintf.cpp
index c8a8a247..c5d7a595 100644
--- a/src/utils/strprintf.cpp
+++ b/src/utils/strprintf.cpp
@@ -19,10 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef _TMW_UTILS_TOSTRING_H
-#define _TMW_UTILS_TOSTRING_H
-
#include <cstdarg>
+#include <cstdio>
#include "strprintf.h"
@@ -47,5 +45,3 @@ std::string strprintf(char const *format, ...)
delete [] buf2;
return res;
}
-
-#endif