summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-12 16:38:22 -0500
committermidipix <writeonce@midipix.org>2016-12-12 16:38:22 -0500
commit836b549de88fc53f75d217379175b5fa1cf18772 (patch)
tree576818f1b79e3c5d614015727932b12d2fb38e17 /include
parent5cf966326db0ee532a3e1c3a922cb1d4db82d321 (diff)
downloaddalist-836b549de88fc53f75d217379175b5fa1cf18772.tar.bz2
dalist-836b549de88fc53f75d217379175b5fa1cf18772.tar.xz
api headers: dalist_env.h: provide a smooth foreign toolchain support.
Diffstat (limited to 'include')
-rw-r--r--include/dalist/dalist_env.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dalist/dalist_env.h b/include/dalist/dalist_env.h
index ee27f58..8fef0bf 100644
--- a/include/dalist/dalist_env.h
+++ b/include/dalist/dalist_env.h
@@ -5,6 +5,11 @@
#include <psxtypes/psxtypes.h>
+#elif defined (_DALIST_FREESTANDING)
+
+#include <stdint.h>
+typedef intptr_t ssize_t;
+
#else
#ifndef _XOPEN_SOURCE