aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-13 21:52:17 -0800
committerMichael Forney <mforney@mforney.org>2019-02-13 21:52:20 -0800
commitc3231333fd25b5768a236009866aeb24b071cfc9 (patch)
treef56d33977aa4b0366bd0dfcb4086dfe5acdd74d3
parentc322208a7eb1239bb71b591fb2282c5a4860edc5 (diff)
config.def.h: Define __signed__, used by linux headers
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
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"};