commit | d9f838f73992db73ed5e451a2149933b89a285b1 | [log] [tgz] |
---|---|---|
author | Kelly O'Hair <ohair@openjdk.org> | Thu Sep 11 11:12:21 2008 -0700 |
committer | Kelly O'Hair <ohair@openjdk.org> | Thu Sep 11 11:12:21 2008 -0700 |
tree | 6b64ff38ea8435256d26d62f78e3c41092f89bab | |
parent | ddc444d7b28bf3afdab6af6331e3bc3d7f6b1be2 [diff] |
6746415: The include file stropts.h is not available in Fedora 9 (STREAMS Kernel Extension?) Reviewed-by: tbell
diff --git a/jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h b/jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h index b0d15f8..675aa68 100644 --- a/jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h +++ b/jdk/src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.h
@@ -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>