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-context.h | |
parent | cad/calculix : update to version 2.17.1 (diff) |
Fix build with -fno-common
Diffstat (limited to 'misc/window/files/patch-context.h')
-rw-r--r-- | misc/window/files/patch-context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/window/files/patch-context.h b/misc/window/files/patch-context.h new file mode 100644 index 000000000000..024eb82344bd --- /dev/null +++ b/misc/window/files/patch-context.h @@ -0,0 +1,8 @@ +--- context.h.orig 2008-07-12 06:05:22 UTC ++++ context.h +@@ -81,4 +81,4 @@ struct context { + #define X_FILE 1 /* input is a file */ + #define X_BUF 2 /* input is a buffer */ + +-struct context cx; /* the current context */ ++extern struct context cx; /* the current context */ |