Skip to content

Commit 9df89dc

Browse files
nielsbbvanassche
authored andcommitted
interface_linux.c: defined dummy PCI_NONRET if needed (CentOS7)
1 parent 8c930d7 commit 9df89dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

agent/mibgroup/if-mib/data_access/interface_linux.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ netsnmp_feature_require(interface_ioctl_flags_set);
2626
#ifdef HAVE_PCI_LOOKUP_NAME
2727
#include <pci/pci.h>
2828
#include <setjmp.h>
29+
#ifndef PCI_NONRET
30+
#define PCI_NONRET
31+
#endif
2932
static struct pci_access *pci_access;
3033

3134
/* Avoid letting libpci call exit(1) when no PCI bus is available. */

0 commit comments

Comments
 (0)