Skip to contentSkip to conversation

include/linux/vgaarb.h: add missing part of include guard

PATCH Applied [email protected] 1 participant 1 message Jul 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 include/linux/vgaarb.h: add missing part of include guard

From: Doug Goldstein <[email protected]>

vgaarb.h was missing the #define of the #ifndef at the top for the guard to prevent multiple #include's from causing re-define errors

---

 include/linux/vgaarb.h |    1 +
 1 file changed, 1 insertion(+)
include/linux/vgaarb.h renamed from include/linux/vgaarb.h~include-linux-vgaarbh-add-missing-part-of-include-guard +1 -0
diff -puN include/linux/vgaarb.h~include-linux-vgaarbh-add-missing-part-of-include-guard include/linux/vgaarb.h
@@ -29,6 +29,7 @@
  */
 
 #ifndef LINUX_VGA_H
+#define LINUX_VGA_H
 
 #include <asm/vga.h>
 

_