aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-06-18 07:45:38 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-06-18 07:45:38 -0400
commitff3651a2da21a316f9cf64c0dd881b0d8abc48ad (patch)
tree655a0637e7fc6321420a3ed29743f68ef711f855
parentf54c150090ff38a73ef64a5d20fdfa0d9c403972 (diff)
downloadseabios-ff3651a2da21a316f9cf64c0dd881b0d8abc48ad.tar.gz
Add header guard around pic.h
This fixes compiling with AVOIDCOMBINE=1
-rw-r--r--src/pic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pic.h b/src/pic.h
index 0eb70ee8..dc151a28 100644
--- a/src/pic.h
+++ b/src/pic.h
@@ -4,6 +4,8 @@
// Copyright (C) 2002 MandrakeSoft S.A.
//
// This file may be distributed under the terms of the GNU GPLv3 license.
+#ifndef __PIC_H
+#define __PIC_H
#include "ioport.h" // PORT_PIC*
#include "util.h" // dprintf
@@ -75,3 +77,5 @@ pic_setup()
outb(~PIC1_IRQ2, PORT_PIC1_DATA);
outb(~0, PORT_PIC2_DATA);
}
+
+#endif // pic.h