Module Name:    src
Committed By:   cliff
Date:           Sun Sep 13 03:29:36 UTC 2009

Modified Files:
        src/sys/arch/mips/include [matt-nb5-mips64]: pci_machdep.h

Log Message:
#ifdef to protect against recursive #include


To generate a diff of this commit:
cvs rdiff -u -r1.4.96.1 -r1.4.96.2 src/sys/arch/mips/include/pci_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/pci_machdep.h
diff -u src/sys/arch/mips/include/pci_machdep.h:1.4.96.1 src/sys/arch/mips/include/pci_machdep.h:1.4.96.2
--- src/sys/arch/mips/include/pci_machdep.h:1.4.96.1	Sun Aug 16 03:33:58 2009
+++ src/sys/arch/mips/include/pci_machdep.h	Sun Sep 13 03:29:36 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.h,v 1.4.96.1 2009/08/16 03:33:58 matt Exp $ */
+/* $NetBSD: pci_machdep.h,v 1.4.96.2 2009/09/13 03:29:36 cliff Exp $ */
 
 /*
  * Copyright (c) 1996 Carnegie-Mellon University.
@@ -27,6 +27,9 @@
  * rights to redistribute these changes.
  */
 
+#ifndef _MIPS_INCLUDE_PCI_MACHDEP_H_
+#define _MIPS_INCLUDE_PCI_MACHDEP_H_
+
 /*
  * __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH (if used) needs to be
  * defined before this file is included
@@ -116,3 +119,5 @@
      (*(c)->pc_pciide_compat_intr_establish)((c)->pc_conf_v, (d), (p),	\
 	(ch), (f), (a)))
 #endif
+
+#endif	/* _MIPS_INCLUDE_PCI_MACHDEP_H_ */

Reply via email to