summaryrefslogtreecommitdiffstats
path: root/src/sp-cursor.cpp
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2008-01-31 19:06:59 +0000
committerbryce <bryce@users.sourceforge.net>2008-01-31 19:06:59 +0000
commit06d8aaba21496e6a39a7c18dd82e0d3efbeb531c (patch)
treeb2dec94e06000e9929f24385c60e64f629e4e041 /src/sp-cursor.cpp
parentr17815@shi: ted | 2008-01-31 08:58:15 -0800 (diff)
downloadinkscape-06d8aaba21496e6a39a7c18dd82e0d3efbeb531c.tar.gz
inkscape-06d8aaba21496e6a39a7c18dd82e0d3efbeb531c.zip
Applying fixes for gcc 4.3 build issues (closes LP: #169115)
(bzr r4629)
Diffstat (limited to 'src/sp-cursor.cpp')
-rw-r--r--src/sp-cursor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sp-cursor.cpp b/src/sp-cursor.cpp
index 3e9c5ef90..4bbba5f10 100644
--- a/src/sp-cursor.cpp
+++ b/src/sp-cursor.cpp
@@ -13,7 +13,8 @@
*/
#include <cstdio>
-#include <string.h>
+#include <cstring>
+#include <string>
#include <ctype.h>
#include "sp-cursor.h"
@@ -32,7 +33,7 @@ sp_cursor_bitmap_and_mask_from_xpm(GdkBitmap **bitmap, GdkBitmap **mask, gchar c
int transparent_color = ' ';
int black_color = '.';
-
+
char pixmap_buffer[(32 * 32)/8];
char mask_buffer[(32 * 32)/8];