summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-12-29 15:57:45 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-12-29 15:57:45 +0900
commit41e8b210b82fc5a0bc6f0b2989b34e0391fac2ae (patch)
tree85a7e2492635228241af3f548f4af5f8a9050d8e /include
parent27d1e0132a0804581dca28df042e7047fd27eaa8 (diff)
downloadmruby-41e8b210b82fc5a0bc6f0b2989b34e0391fac2ae.tar.gz
mruby-41e8b210b82fc5a0bc6f0b2989b34e0391fac2ae.zip
common.h: include `<sys/types.h>` for `ssize_t`; #5617
Diffstat (limited to 'include')
-rw-r--r--include/mruby/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/common.h b/include/mruby/common.h
index c5cfaeb50..59214d3c1 100644
--- a/include/mruby/common.h
+++ b/include/mruby/common.h
@@ -28,6 +28,7 @@
# define MRB_END_DECL
#endif
+#include <sys/types.h>
#if defined _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;