diff options
Diffstat (limited to 'src/FbTk/Font.cc')
-rw-r--r-- | src/FbTk/Font.cc | 20 |
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 | ||
76 | using namespace std; | 88 | using namespace std; |
77 | 89 | ||