changeset 4734:89952dc5be8e

7113017: Use POSIX compliant include file headers in sun/awt/medialib/mlib_types.h Reviewed-by: prr, bae Contributed-by: littlee@linux.vnet.ibm.com
author prr
date Thu, 17 Nov 2011 10:32:05 -0800
parents 4544585a3cea
children 60331bbcf4ad
files src/share/native/sun/awt/medialib/mlib_types.h
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/awt/medialib/mlib_types.h	Sat Nov 05 14:27:47 2011 -0700
+++ b/src/share/native/sun/awt/medialib/mlib_types.h	Thu Nov 17 10:32:05 2011 -0800
@@ -59,13 +59,8 @@
 
 #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