25 lines
524 B
Plaintext
25 lines
524 B
Plaintext
$NetBSD: patch-ah,v 1.3 2014/06/09 12:21:07 ryoon Exp $
|
|
|
|
--- src/pcm/pcm.c.orig 2013-07-08 12:31:36.000000000 +0000
|
|
+++ src/pcm/pcm.c
|
|
@@ -630,7 +630,7 @@ playback devices.
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
-#include <malloc.h>
|
|
+#include <stdlib.h>
|
|
#include <stdarg.h>
|
|
#include <signal.h>
|
|
#include <ctype.h>
|
|
@@ -640,6 +640,10 @@ playback devices.
|
|
#include <limits.h>
|
|
#include "pcm_local.h"
|
|
|
|
+#ifndef EBADFD
|
|
+#define EBADFD EBADF
|
|
+#endif
|
|
+
|
|
/**
|
|
* \brief get identifier of PCM handle
|
|
* \param pcm PCM handle
|