aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Font.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-31 15:26:40 (GMT)
committerrathnor <rathnor>2004-08-31 15:26:40 (GMT)
commitd17bf39a43a7581773c67d496e4022499d59cd26 (patch)
tree89e964e0e9a207d726e4ffefb88b19c51c591817 /src/FbTk/Font.cc
parent6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff)
downloadfluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.zip
fluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2
add autoconf check for std c++ headers
Diffstat (limited to 'src/FbTk/Font.cc')
-rw-r--r--src/FbTk/Font.cc20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/FbTk/Font.cc b/src/FbTk/Font.cc
index 40da222..774e92a 100644
--- a/src/FbTk/Font.cc
+++ b/src/FbTk/Font.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Font.cc,v 1.13 2004/08/28 18:10:19 rathnor Exp $ 22//$Id: Font.cc,v 1.14 2004/08/31 15:26:39 rathnor Exp $
23 23
24 24
25#include "StringUtil.hh" 25#include "StringUtil.hh"
@@ -55,8 +55,16 @@
55#endif //__USE_GNU 55#endif //__USE_GNU
56 56
57#include <iostream> 57#include <iostream>
58#include <cstring> 58#ifdef HAVE_CSTRING
59#include <cstdlib> 59 #include <cstring>
60#else
61 #include <string.h>
62#endif
63#ifdef HAVE_CSTDLIB
64 #include <cstdlib>
65#else
66 #include <stdlib.h>
67#endif
60#include <list> 68#include <list>
61#include <typeinfo> 69#include <typeinfo>
62#include <langinfo.h> 70#include <langinfo.h>
@@ -71,7 +79,11 @@
71#error "You dont have sstream or strstream headers!" 79#error "You dont have sstream or strstream headers!"
72#endif // HAVE_STRSTREAM 80#endif // HAVE_STRSTREAM
73 81
74#include <cstdlib> 82#ifdef HAVE_CSTDLIB
83 #include <cstdlib>
84#else
85 #include <stdlib.h>
86#endif
75 87
76using namespace std; 88using namespace std;
77 89