]> git.alsa-project.org Git - alsa-lib.git/commitdiff
include/sound/type_compat.h: fix include guard
authorSASANO Takayoshi <uaa@uaa.org.uk>
Fri, 1 Jul 2022 20:55:11 +0000 (05:55 +0900)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Jul 2022 15:32:51 +0000 (17:32 +0200)
include/sound/type_compat.h uses #define __TYPE_COMPAT_H but it conflicts
same include guard of include/type_compat.h

now, include/sound/type_compat.h uses #define __SOUND_TYPE_COMPAT_H

this is already done in NetBSD's pkgsrc patch.

(thanks to tsutsui@netbsd.org)

Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/type_compat.h

index 953ce566da6ea645ec9149fca374a24c1f168b82..b994ccfe48be7ae356904c9d1c1294964575f337 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __TYPE_COMPAT_H
-#define __TYPE_COMPAT_H
+#ifndef __SOUND_TYPE_COMPAT_H
+#define __SOUND_TYPE_COMPAT_H
 
 #ifndef DOC_HIDDEN
 #include <stdint.h>
@@ -58,4 +58,4 @@ typedef int64_t __s64;
 
 #endif /* DOC_HIDDEN */
 
-#endif /* __TYPE_COMPAT_H */
+#endif /* __SOUND_TYPE_COMPAT_H */