--- libcurv/viewer/mesh.cc.orig	2019-10-22 18:21:49 UTC
+++ libcurv/viewer/mesh.cc
@@ -2,6 +2,7 @@
 
 #include <iostream>
 #include <fstream> 
+#include <sys/types.h>
 
 //#include "fs.h"
 #include "geom.h"
