diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 17:40:50 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 17:40:50 +0000 |
commit | e3c468f04035ce339c44e23742399159a65be905 (patch) | |
tree | 86d567f3b04d32c210a71e6eb1f8c59d1d0dc32d /misc/window/files/patch-var.h | |
parent | cad/calculix : update to version 2.17.1 (diff) |
Fix build with -fno-common
Diffstat (limited to 'misc/window/files/patch-var.h')
-rw-r--r-- | misc/window/files/patch-var.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/window/files/patch-var.h b/misc/window/files/patch-var.h new file mode 100644 index 000000000000..d25a31258571 --- /dev/null +++ b/misc/window/files/patch-var.h @@ -0,0 +1,8 @@ +--- var.h.orig 2008-07-12 06:05:22 UTC ++++ var.h +@@ -56,4 +56,4 @@ struct var **var_lookup1(); + #define var_lookup(n) (*var_lookup1(&var_head, n)) + #define var_walk(f, a) var_walk1(var_head, f, a) + +-struct var *var_head; /* secret, shhh */ ++extern struct var *var_head; /* secret, shhh */ |