summaryrefslogtreecommitdiff
path: root/user/vte/exitcode.patch
blob: 52de638580df5382060ff5d5560c712c4626cbca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- vte-0.54.0/src/widget.cc.old	2018-09-02 13:20:15.000000000 +0000
+++ vte-0.54.0/src/widget.cc	2018-09-08 21:20:16.000000000 +0000
@@ -21,6 +21,9 @@
 #include "widget.hh"
 
 #include <sys/wait.h> // for W_EXITCODE
+#ifndef W_EXITCODE
+#  define W_EXITCODE(ret, sig)  ((unsigned int)(ret) << 8 | sig)
+#endif
 
 #include <new>
 #include <string>