From da9cc0b50c56a4a3a2413c302f68536889206797 Mon Sep 17 00:00:00 2001 From: Jan Sommer Date: Thu, 29 Oct 2020 14:11:32 +0100 Subject: confdefs: Add extern C guards to libpci.h --- cpukit/include/rtems/confdefs/libpci.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems/confdefs/libpci.h b/cpukit/include/rtems/confdefs/libpci.h index a68eea1903..05731f5686 100644 --- a/cpukit/include/rtems/confdefs/libpci.h +++ b/cpukit/include/rtems/confdefs/libpci.h @@ -21,6 +21,10 @@ #error "Do not include this file directly, use instead" #endif +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* * Select PCI Configuration Library */ @@ -67,4 +71,8 @@ #endif #endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _RTEMS_CONFDEFS_LIBPCI_H */ -- cgit v1.2.3