From a79406344cc21d594d27fa5ec5922abe9f7475e7 Mon Sep 17 00:00:00 2001 From: Thomas Hebb Date: Sun, 22 Sep 2019 13:45:04 -0700 Subject: [PATCH] Fix build on glibc >= 2.28 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. --- librevm/include/revm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librevm/include/revm.h b/librevm/include/revm.h index 2e2d16bd..f1c43199 100644 --- a/librevm/include/revm.h +++ b/librevm/include/revm.h @@ -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 *);