Bug 561787: Add missing #include to iccread.c, to fix compile warnings about declarations of memcpy. r=roc
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 28 Apr 2010 23:13:13 -0700
changeset 41517 98749d6edaa53e7a80877d3dd5dea74e29d3e346
parent 41516 ae22682c75dab5235aa45ac23e4b1a6bfbfa4b41
child 41518 072e8c41a45075d1478452db0f3dfd6d6098a8df
push idunknown
push userunknown
push dateunknown
reviewersroc
bugs561787
milestone1.9.3a5pre
Bug 561787: Add missing #include to iccread.c, to fix compile warnings about declarations of memcpy. r=roc
gfx/qcms/iccread.c
--- a/gfx/qcms/iccread.c
+++ b/gfx/qcms/iccread.c
@@ -18,16 +18,17 @@
 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 
 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 #include <math.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <string.h>
 #include "qcmsint.h"
 
 typedef uint32_t be32;
 typedef uint16_t be16;
 
 #if 0
 not used yet
 /* __builtin_bswap isn't available in older gccs