From 2f0c8b1c271899d2faa6a475c1872a384c8cf4d3 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Thu, 24 Oct 2002 11:40:36 +0000
Subject: use gnu extensions for snprintf

---
 src/XmbFontImp.cc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/XmbFontImp.cc b/src/XmbFontImp.cc
index d5d536b..2a80900 100644
--- a/src/XmbFontImp.cc
+++ b/src/XmbFontImp.cc
@@ -19,7 +19,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: XmbFontImp.cc,v 1.2 2002/10/16 23:31:10 fluxgen Exp $
+// $Id: XmbFontImp.cc,v 1.3 2002/10/24 11:40:36 fluxgen Exp $
 
 #include "XmbFontImp.hh"
 
@@ -34,6 +34,11 @@
 #include <locale.h>
 #endif // HAVE_SETLOCALE
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif // _GNU_SOURCE
+
+#include <cstdio>
 #include <cstdarg>
 #include <iostream>
 using namespace std;
-- 
cgit v0.11.2