fix corruption on empty sel_fname
[libpicofe.git] / linux / sndout_oss.c
index 2313d3f..0df17b2 100644 (file)
@@ -1,3 +1,14 @@
+/*
+ * (C) GraÅžvydas "notaz" Ignotas, 2009-2010
+ *
+ * This work is licensed under the terms of any of these licenses
+ * (at your option):
+ *  - GNU GPL, version 2 or later.
+ *  - GNU LGPL, version 2.1 or later.
+ *  - MAME license.
+ * See the COPYING file in the top-level directory.
+ */
+
 /* sound output via OSS */
 #include <stdio.h>
 #include <sys/types.h>
@@ -98,7 +109,7 @@ int sndout_oss_write(const void *buff, int len)
        return write(sounddev, buff, len);
 }
 
-#include "../common/plat.h"
+#include "../plat.h"
 
 /* not really non-blocking, just detects if blocking occurs
  * and starts skipping writes in case it does. */