diff -Nurd qps-1.10.17/src/proc.h qps-1.10.17.new/src/proc.h
--- qps-1.10.17/src/proc.h	2017-09-21 22:00:11.000000000 +0000
+++ qps-1.10.17.new/src/proc.h	2017-10-13 08:36:04.303661277 +0000
@@ -25,6 +25,9 @@
 
 #include "config.h"
 
+#include <sys/stat.h>
+#include <sys/time.h>
+
 #ifdef SOLARIS
 #include <kstat.h> // kstat_ctl_t
 #endif