Skip to content

Commit

Permalink
Fix build on glibc >= 2.28
Browse files Browse the repository at this point in the history
glibc 2.28 [removed](https://lwn.net/Articles/761462/) the `_G_config.h`
header, which defined the `_G_va_list` type. This wasn't intended to be
a public type. Replace it with `__gnuc_va_list` to fix compilation.
  • Loading branch information
tchebb committed Sep 22, 2019
1 parent 3e13387 commit a794063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librevm/include/revm.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ extern int vsscanf(const char * restrict str, const char * restrict format,
va_list ap);
#elif defined(__linux__)
extern int vsscanf (__const char *__restrict __s,
__const char *__restrict __format, _G_va_list __arg);
__const char *__restrict __format, __gnuc_va_list __arg);
#endif

void wait4exit(void *);
Expand Down

0 comments on commit a794063

Please sign in to comment.