# HG changeset patch # User serb # Date 1436534121 -10800 # Node ID 04fb823d2094591cc63418967b8cfcc1b23dc516 # Parent 63742c643c8a712b9ec6bdde4b6e806ce508adee 8129511: PlatformMidi.c:83 uses malloc without malloc header Reviewed-by: ant, azvegint diff -r 63742c643c8a -r 04fb823d2094 src/share/native/com/sun/media/sound/PlatformMidi.c --- a/src/share/native/com/sun/media/sound/PlatformMidi.c Mon Feb 24 11:24:43 2014 -0800 +++ b/src/share/native/com/sun/media/sound/PlatformMidi.c Fri Jul 10 16:15:21 2015 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -29,6 +29,8 @@ #include "PlatformMidi.h" +#include + char* GetInternalErrorStr(INT32 err) { switch (err) { case MIDI_SUCCESS: return "";