diff options
Diffstat (limited to 'src/FbTk/Text.hh')
-rw-r--r-- | src/FbTk/Text.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/Text.hh b/src/FbTk/Text.hh index 5336546..01ee26e 100644 --- a/src/FbTk/Text.hh +++ b/src/FbTk/Text.hh | |||
@@ -24,6 +24,8 @@ | |||
24 | #ifndef FBTK_TEXT_HH | 24 | #ifndef FBTK_TEXT_HH |
25 | #define FBTK_TEXT_HH | 25 | #define FBTK_TEXT_HH |
26 | 26 | ||
27 | #include <sys/types.h> | ||
28 | |||
27 | namespace FbTk { | 29 | namespace FbTk { |
28 | 30 | ||
29 | class Font; | 31 | class Font; |
@@ -37,7 +39,7 @@ enum Orientation { ROT0=0, ROT90, ROT180, ROT270 }; | |||
37 | */ | 39 | */ |
38 | int doAlignment(int max_width, int bevel, FbTk::Justify justify, | 40 | int doAlignment(int max_width, int bevel, FbTk::Justify justify, |
39 | const FbTk::Font &font, const char * const text, | 41 | const FbTk::Font &font, const char * const text, |
40 | unsigned int textlen, unsigned int &newlen); | 42 | size_t textlen, size_t &newlen); |
41 | 43 | ||
42 | /** | 44 | /** |
43 | There are 3 interesting translations: | 45 | There are 3 interesting translations: |