summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-12 18:35:53 -0500
committermidipix <writeonce@midipix.org>2016-12-12 18:35:53 -0500
commit99906dc600b068e0f67fe2ffc932ea4fa14fb8fe (patch)
tree293885eb2c0d5d511cca0de6124e86f6ff4a7e75 /src
parent336b918d99caa3b39c0b63f59fa3561315e3ef68 (diff)
downloadptycon-99906dc600b068e0f67fe2ffc932ea4fa14fb8fe.tar.bz2
ptycon-99906dc600b068e0f67fe2ffc932ea4fa14fb8fe.tar.xz
include <psxtypes/section/freestd.h> for improved foreign compiler support.
Diffstat (limited to 'src')
-rw-r--r--src/driver/ptyc_driver_ctx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/ptyc_driver_ctx.c b/src/driver/ptyc_driver_ctx.c
index cf80a95..1a79c79 100644
--- a/src/driver/ptyc_driver_ctx.c
+++ b/src/driver/ptyc_driver_ctx.c
@@ -23,6 +23,9 @@
#include "argv/argv.h"
/* pty integration */
+#include <psxtypes/section/freestd.h>
+
+__attr_section_decl__(".freestd")
static const nt_tty_affiliation tty_affiliation
__attr_section__(".freestd")
= NT_TTY_AFFILIATION_DEFAULT;