Skip to content

Commit c9dcecb

Browse files
Dustin Richmonddeeppat
authored andcommitted
Fixed missing extern C declaration (#467) (#473)
1 parent a29ca36 commit c9dcecb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hdk/common/software/include/fpga_pci_sv.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#include <stdint.h>
2323
#include <hal/fpga_common.h>
2424

25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
2529
/**
2630
* FPGA_PCI_BARS_MAX:
2731
* -compile time tunable via mkall_fpga_mgmt_tools.sh, with the below default.

0 commit comments

Comments
 (0)