Skip to content

Commit bf4d2c5

Browse files
committed
Include setjmp.h if the jmp_buf symbol is used
1 parent 23711d7 commit bf4d2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/system_library_symbols.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void system_library_symbolst::init_system_library_map()
105105
// setjmp.h
106106
std::list<irep_idt> setjmp_syms=
107107
{
108-
"_longjmp", "_setjmp", "longjmp", "longjmperror", "setjmp",
108+
"_longjmp", "_setjmp", "jmp_buf", "longjmp", "longjmperror", "setjmp",
109109
"siglongjmp", "sigsetjmp"
110110
};
111111
add_to_system_library("setjmp.h", setjmp_syms);

0 commit comments

Comments
 (0)