diff mbox

Bad header guard in alsa-lib

Message ID DB5PR10MB0293F65AACE42CF971B1AE2094470@DB5PR10MB0293.EURPRD10.PROD.OUTLOOK.COM (mailing list archive)
State New, archived
Headers show

Commit Message

Guillaume Blanc July 6, 2018, 1:54 p.m. UTC
Hello,
While building alsa-lib, I got a redefinition error caused by a bad header guard in pcm_plugin.h.
I assume this is a mistake and not a weird include trick, attached is a patch to fix this.
Best regards,
Guillaume Blanc

Comments

Takashi Iwai July 6, 2018, 3:09 p.m. UTC | #1
On Fri, 06 Jul 2018 15:54:07 +0200,
Guillaume Blanc wrote:
> 
> 
> Hello,
> While building alsa-lib, I got a redefinition error caused by a bad header guard in pcm_plugin.h.
> I assume this is a mistake and not a weird include trick, attached is a patch to fix this.

Applied, thanks.


Takashi
diff mbox

Patch

From 8e643b7e007074807b83f27d88d02ea367d2c3b7 Mon Sep 17 00:00:00 2001
From: Guillaume Blanc <guillaume.blanc@parrot.com>
Date: Fri, 6 Jul 2018 15:22:06 +0200
Subject: [PATCH - alsa-lib 1/1] Fix header guard in pcm_plugin.h

Signed-off-by: Guillaume Blanc <guillaume.blanc@parrot.com>

diff --git a/include/pcm_plugin.h b/include/pcm_plugin.h
index ad14e7b..3061205 100644
--- a/include/pcm_plugin.h
+++ b/include/pcm_plugin.h
@@ -30,6 +30,7 @@ 
  */
 
 #ifndef __ALSA_PCM_PLUGIN_H
+#define __ALSA_PCM_PLUGIN_H
 
 /**
  * \defgroup PCM_Plugins PCM Plugins
-- 
1.9.1