summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 07:52:54 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 07:52:54 +0000
commit328666a6c2253f73705d8cddd249ad92552e398a (patch)
treec86fbd1c93f3f055396382baf5478d89398c0380 /mjit.c
parent8a0678b4c3120196321c4d4670b13ed099183dca (diff)
mjit.c: try to fix Solaris build failure
In file included from vm_core.h:87:0, from mjit.c:81: /usr/include/signal.h:71:29: error: unknown type name 'procset_t' extern int sigsendset(const procset_t *, int); ^ In file included from mjit.c:81:0: vm_core.h:90:16: error: '_SIGMAX' undeclared here (not in a function) # define NSIG (_SIGMAX + 1) /* For QNX */ ^ vm_core.h:93:19: note: in expansion of macro 'NSIG' #define RUBY_NSIG NSIG Errors come from vm_core.h. But obviously I don't touch those parts. So I guess we need something before vm_core.h. I included internal.h before vm_core.h so that the situation becomes the same as cont.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mjit.c b/mjit.c
index a7855ffbf4..c683d234b6 100644
--- a/mjit.c
+++ b/mjit.c
@@ -78,6 +78,7 @@
#include <dlfcn.h>
#endif
+#include "internal.h"
#include "vm_core.h"
#include "mjit.h"
#include "version.h"