summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-23 11:17:24 +0100
committerGitHub <noreply@github.com>2020-03-23 11:17:24 +0100
commitcbbe0743a9155f06d03d4b906209933192a02731 (patch)
treeb3b78749b4a182c9e1779c8bcad5c06d487b9e6e /drivers
parented9a0d0484411e631b0cc927e46dc234054d5ae5 (diff)
parent2ecf928ae39253f8cc72de1ad1391e8ed140ed6d (diff)
Merge pull request #37219 from RajatGoswami/missing-include-guards
Adding missing include guards to header files identified by LGTM
Diffstat (limited to 'drivers')
-rw-r--r--drivers/alsa/audio_driver_alsa.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/alsa/audio_driver_alsa.h b/drivers/alsa/audio_driver_alsa.h
index a8caf0fbae..50bd9e853d 100644
--- a/drivers/alsa/audio_driver_alsa.h
+++ b/drivers/alsa/audio_driver_alsa.h
@@ -28,12 +28,14 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#include "servers/audio_server.h"
-
#ifdef ALSA_ENABLED
+#ifndef AUDIO_DRIVER_ALSA_H
+#define AUDIO_DRIVER_ALSA_H
+
#include "core/os/mutex.h"
#include "core/os/thread.h"
+#include "servers/audio_server.h"
#include <alsa/asoundlib.h>
@@ -87,4 +89,6 @@ public:
~AudioDriverALSA();
};
-#endif
+#endif // AUDIO_DRIVER_ALSA_H
+
+#endif // ALSA_ENABLED