Code

add #include <string.h> for memset(), so that it is portable
authorishmal <ishmal@users.sourceforge.net>
Tue, 24 Jun 2008 15:28:48 +0000 (15:28 +0000)
committerishmal <ishmal@users.sourceforge.net>
Tue, 24 Jun 2008 15:28:48 +0000 (15:28 +0000)
src/display/sp-canvas-util.cpp

index 3c4328db14ed470e40c720eec9beee3cae67f731..28d4b0c6902b1cfac7d8d6d7d0898d41d761d8f2 100644 (file)
@@ -16,6 +16,8 @@
 #include "libnr/nr-matrix-div.h"
 #include "libnr/nr-pixops.h"
 #include "sp-canvas-util.h"
+#include <string.h>  /* for memset */
+
 
 void
 sp_canvas_update_bbox (SPCanvasItem *item, int x1, int y1, int x2, int y2)