7113017: Use POSIX compliant include file headers in sun/awt/medialib/mlib_types.h

Reviewed-by: prr, bae
This commit is contained in:
Charles Lee 2011-11-17 10:32:05 -08:00 committed by Phil Race
parent bea72b4aae
commit add77dda1a

View File

@ -59,13 +59,8 @@ typedef double mlib_d64;
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__GNUC__)
#if defined(__linux__)
#include <stdint.h> /* for uintptr_t */
#include <malloc.h> /* for ptrdiff_t */
#else
#include <link.h> /* for uintptr_t */
#include <stddef.h> /* for ptrdiff_t */
#endif /* __linux__ */
#include <stdint.h>
#include <stddef.h>
#ifdef MLIB_OS64BIT