6746415: The include file stropts.h is not available in Fedora 9 (STREAMS Kernel Extension?)
authorohair
Thu, 11 Sep 2008 11:12:21 -0700
changeset 1165 4e62e945f4eb
parent 1164 fcf7f66faf68
child 1166 f2bfef4df8d0
6746415: The include file stropts.h is not available in Fedora 9 (STREAMS Kernel Extension?) Reviewed-by: tbell
jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h
--- a/jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h	Wed Sep 10 10:19:02 2008 -0700
+++ b/jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h	Thu Sep 11 11:12:21 2008 -0700
@@ -31,7 +31,9 @@
 #include <sys/audio.h>
 #include <sys/mixer.h>
 #include <sys/types.h>
+#ifndef __linux__
 #include <stropts.h>
+#endif
 #include <sys/conf.h>
 #include <sys/stat.h>
 #include <unistd.h>