]> mj.ucw.cz Git - pciutils.git/commitdiff
Oops, the test for glibc version was wrong :-|
authorMartin Mares <mj@ucw.cz>
Sat, 24 Oct 1998 13:39:20 +0000 (13:39 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:09:57 +0000 (14:09 +0200)
setpci.c

index 36a12a4559852ced5644df433719794f9f250cdc..2cbcfefff95cae3ff4757d566623ff18a45ba986 100644 (file)
--- a/setpci.c
+++ b/setpci.c
@@ -1,5 +1,5 @@
 /*
- *     $Id: setpci.c,v 1.7 1998/10/23 10:15:20 mj Exp $
+ *     $Id: setpci.c,v 1.8 1998/10/24 13:39:20 mj Exp $
  *
  *     Linux PCI Utilities -- Manipulate PCI Configuration Registers
  *
@@ -19,7 +19,7 @@
 #include <asm/byteorder.h>
 
 #include <asm/unistd.h>
-#if defined(__GLIBC__) && (__GLIBC_MAJOR__ <= 2 || __GLIBC_MINOR__ < 1)
+#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 1
 #include <syscall-list.h>
 #endif