From c3231333fd25b5768a236009866aeb24b071cfc9 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 13 Feb 2019 21:52:17 -0800 Subject: config.def.h: Define __signed__, used by linux headers --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.def.h b/config.def.h index 4c03805..8cf1d5f 100644 --- a/config.def.h +++ b/config.def.h @@ -22,6 +22,9 @@ static char *preprocesscmd[] = { "-D", "__extension__=", "-D", "__attribute__(x)=", "-D", "__asm__(x)=", + + /* required for kernel headers */ + "-D", "__signed__=signed", }; static char *compilecmd[] = {"cc-qbe"}; static char *codegencmd[] = {"qbe"}; -- cgit v1.2.3