Index: node_modules/canvas/src/closure.h
--- node_modules/canvas/src/closure.h.orig	1985-10-26 09:15:00.000000000 +0100
+++ node_modules/canvas/src/closure.h	2018-11-17 17:24:50.940027000 +0100
@@ -9,6 +9,7 @@
 #define __NODE_CLOSURE_H__
 
 #ifdef __unix__
+  #include<sys/types.h>
   #include<sys/user.h>
 #endif
 
