From 70abb40c1da87102bcae6202b166fbdd8bd32a31 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 26 Dec 2002 20:24:32 +0000 Subject: [PATCH] HAVE_OWN_HEADER_H is gone. --- lib/configure | 3 --- lib/pci.h | 9 ++------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/configure b/lib/configure index b5f9fad..f58c223 100755 --- a/lib/configure +++ b/lib/configure @@ -87,8 +87,5 @@ if [ -z "$ok" ] ; then echo "WARNING: No real configuration access method is available." fi echo >>$c "#define PATH_PCI_IDS \"$prefix/share/pci.ids\"" -if [ -f header.h ] ; then - echo >>$c '#define HAVE_OWN_HEADER_H' -fi echo >>$c "#define PCILIB_VERSION \"$version\"" sed '/^#define [^ ]*$/!d;s/^#define \(.*\)/\1=1/' <$c >config.mk diff --git a/lib/pci.h b/lib/pci.h index bea893c..560e720 100644 --- a/lib/pci.h +++ b/lib/pci.h @@ -1,9 +1,9 @@ /* - * $Id: pci.h,v 1.10 2002/12/26 19:28:33 mj Exp $ + * $Id: pci.h,v 1.11 2002/12/26 20:24:32 mj Exp $ * * The PCI Library * - * Copyright (c) 1997--1999 Martin Mares + * Copyright (c) 1997--2002 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -12,12 +12,7 @@ #define _PCI_LIB_H #include "config.h" - -#ifdef HAVE_OWN_HEADER_H #include "header.h" -#else -#include -#endif /* * Types -- 2.39.5