summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_lmc_media.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_media.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_media.c')
-rw-r--r--sys/dev/pci/if_lmc_media.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/pci/if_lmc_media.c b/sys/dev/pci/if_lmc_media.c
index dad33ae1e08..67bd146885b 100644
--- a/sys/dev/pci/if_lmc_media.c
+++ b/sys/dev/pci/if_lmc_media.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_lmc_media.c,v 1.7 2001/06/27 06:02:50 nate Exp $ */
-/* $Id: if_lmc_media.c,v 1.7 2001/06/27 06:02:50 nate Exp $ */
+/* $OpenBSD: if_lmc_media.c,v 1.8 2001/07/09 13:13:43 espie Exp $ */
+/* $Id: if_lmc_media.c,v 1.8 2001/07/09 13:13:43 espie Exp $ */
/*-
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -136,10 +136,14 @@
* Sigh. Every OS puts these in different places. NetBSD and FreeBSD use
* a C preprocessor that allows this hack, but BSDI does not.
*/
-#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_lmc_types.h"
#include "i386/pci/if_lmcioctl.h"