base: fix build errors with gcc 12

Fixes #4829
This commit is contained in:
Christian Prochaska
2023-05-02 09:40:21 +02:00
committed by Christian Helmuth
parent 98bf2dadb8
commit eab8db228b
3 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,6 @@ extern unsigned char _initial_stack_base[];
* capability prior the execution of the main thread. It corresponds to the
* '_parent_cap' symbol defined in 'src/ld/genode.ld'.
*/
extern unsigned long _parent_cap;
extern unsigned long _parent_cap[];
#endif /* _INCLUDE__BASE__CRT0_H_ */