summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_lmc_obsd.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-07-09 13:13:45 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-07-09 13:13:45 +0000
commitb48d7a1ae4e4496dfba1b8bff80121ef670a3c7f (patch)
tree13615e823dfe854ed70d4479e0d5d8662c0872a3 /sys/dev/pci/if_lmc_obsd.c
parent3fff1e112e089f51d2c7804a6bf895c97e1e8e6c (diff)
Remove dubious #include MACRO "string" construct (non-ANSI)
and use the more correct #include <file.h> style. From discussion with millert@.
Diffstat (limited to 'sys/dev/pci/if_lmc_obsd.c')
-rw-r--r--sys/dev/pci/if_lmc_obsd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/pci/if_lmc_obsd.c b/sys/dev/pci/if_lmc_obsd.c
index 0f46fda439d..5821d7dca4f 100644
--- a/sys/dev/pci/if_lmc_obsd.c
+++ b/sys/dev/pci/if_lmc_obsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lmc_obsd.c,v 1.7 2001/06/12 15:40:31 niklas Exp $ */
+/* $OpenBSD: if_lmc_obsd.c,v 1.8 2001/07/09 13:13:44 espie Exp $ */
/* $NetBSD: if_lmc_nbsd.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
/*-
@@ -160,10 +160,14 @@
* Sigh. Every OS puts these in different places. NetBSD and FreeBSD use
* a C preprocessor that allows this hack, but BSDI does not. Grr.
*/
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__)
#include INCLUDE_PATH_PREFIX "if_lmc_types.h"
#include INCLUDE_PATH_PREFIX "if_lmcioctl.h"
#include INCLUDE_PATH_PREFIX "if_lmcvar.h"
+#elif defined(__OpenBSD__)
+#include <dev/pci/if_lmc_types.h>
+#include <dev/pci/if_lmcioctl.h>
+#include <dev/pci/if_lmcvar.h>
#else /* BSDI */
#include "i386/pci/if_lmctypes.h"
#include "i386/pci/if_lmcioctl.h"