void-packages/srcpkgs/libreoffice/patches/0008-musl-sys_time_h.patch

13 lines
324 B
Diff

--- 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