File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,15 @@ trap 'rm -rf $tmp' 0 1 2 3 15
17
17
# regex/regerrs.h is not meant to be included standalone.
18
18
# parser/gram.h will be included by parser/gramparse.h.
19
19
# parser/kwlist.h is not meant to be included standalone.
20
+ # pg_trace.h and utils/probes.h can include sys/sdt.h from SystemTap,
21
+ # which itself contains C++ code and so won't compile with a C++
22
+ # compiler under extern "C" linkage.
20
23
21
24
for f in ` find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/libpq-events.h -name ' *.h' -print | \
22
25
grep -v -e ^src/include/port/ \
23
26
-e ^src/include/rusagestub.h -e ^src/include/regex/regerrs.h \
24
- -e ^src/include/parser/gram.h -e ^src/include/parser/kwlist.h`
27
+ -e ^src/include/parser/gram.h -e ^src/include/parser/kwlist.h \
28
+ -e ^src/include/pg_trace.h -e ^src/include/utils/probes.h`
25
29
do
26
30
{
27
31
echo ' extern "C" {'
You can’t perform that action at this time.
0 commit comments