From 10be47aba2a5aa7e031f54b9d9ba4b808af9ced6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 23 Oct 1998 10:15:19 +0000 Subject: [PATCH] Don't include on glibc >= 2.1, since it doesn't exist and we don't need it anyway. --- ChangeLog | 4 ++++ setpci.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa7947b..57667ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 23 18:59:19 1998 Martin Mares + + * setpci.c: Don't include with glibc >= 2.1. + Mon Oct 19 21:53:30 1998 Martin Mares * Released as version 1.08. diff --git a/setpci.c b/setpci.c index 310aee6..36a12a4 100644 --- a/setpci.c +++ b/setpci.c @@ -1,5 +1,5 @@ /* - * $Id: setpci.c,v 1.6 1998/10/19 13:37:44 mj Exp $ + * $Id: setpci.c,v 1.7 1998/10/23 10:15:20 mj Exp $ * * Linux PCI Utilities -- Manipulate PCI Configuration Registers * @@ -19,7 +19,7 @@ #include #include -#ifdef __GLIBC__ +#if defined(__GLIBC__) && (__GLIBC_MAJOR__ <= 2 || __GLIBC_MINOR__ < 1) #include #endif -- 2.39.2