From c747d63cff82c0e1abcff475cd817d679d0aaf33 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 1 Apr 2002 16:19:32 +0000 Subject: FLUID code that uses snprintf() needs to include src/flstring.h... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/fluid.cxx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 38bb0f6aa..ba1972f60 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1,5 +1,5 @@ // -// "$Id: fluid.cxx,v 1.15.2.13.2.12 2002/03/25 21:08:41 easysw Exp $" +// "$Id: fluid.cxx,v 1.15.2.13.2.13 2002/04/01 16:19:32 easysw Exp $" // // FLUID main entry for the Fast Light Tool Kit (FLTK). // @@ -42,13 +42,8 @@ #include #include #include -#include -#if !HAVE_SNPRINTF -extern "C" { -extern int snprintf(char* str, size_t size, const char* fmt, ...); -} -#endif // !HAVE_SNPRINTF +#include "../src/flstring.h" #if defined(WIN32) && !defined(__CYGWIN__) # include @@ -511,5 +506,5 @@ int main(int argc,char **argv) { } // -// End of "$Id: fluid.cxx,v 1.15.2.13.2.12 2002/03/25 21:08:41 easysw Exp $". +// End of "$Id: fluid.cxx,v 1.15.2.13.2.13 2002/04/01 16:19:32 easysw Exp $". // -- cgit v1.2.3