--- vcl/inc/headless/svpinst.hxx	2016-01-27 01:58:25.000000000 +0100
+++ vcl/inc/headless/svpinst.hxx	2016-02-24 18:41:32.947510323 +0100
@@ -32,6 +32,9 @@
 #include <list>
 
 #include <time.h>
+#if !defined(__GLIBC__)
+#include <sys/time.h>
+#endif
 
 #define VIRTUAL_DESKTOP_WIDTH 1024
 #define VIRTUAL_DESKTOP_HEIGHT 768
