diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index b49e102..724f696 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
@@ -315,10 +315,12 @@ static int oss_open (int in, struct oss_params *req,
         goto err;
     }
 
+#ifndef CONFIG_SOLARIS
     if (ioctl (fd, SNDCTL_DSP_NONBLOCK, NULL)) {
         oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n");
         goto err;
     }
+#endif
 
 #ifdef USE_DSP_POLICY
     if (conf.policy >= 0) {