Bad header guard in alsa-lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
From 8e643b7e007074807b83f27d88d02ea367d2c3b7 Mon Sep 17 00:00:00 2001
From: Guillaume Blanc <guillaume.blanc@xxxxxxxxxx>
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@xxxxxxxxxx>

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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux