summaryrefslogtreecommitdiff
path: root/user/libreoffice/fix-includes.patch
blob: 4a837a94b131edafa4caa91bdb8952a4bf2bbec4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index f177d86..99bb408 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -21,7 +21,7 @@
   #include <dbus/dbus.h>
   #include <errno.h>
   #include <fcntl.h>
-  #include <sys/unistd.h>
+  #include <unistd.h>
   #include <sys/socket.h>
   #include <bluetooth/bluetooth.h>
   #include <bluetooth/rfcomm.h>
diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx
index 932e928..b65ced7 100644
--- a/vcl/inc/headless/svpinst.hxx
+++ b/vcl/inc/headless/svpinst.hxx
@@ -30,7 +30,7 @@
 
 #include <list>
 
-#include <time.h>
+#include <sys/time.h>
 
 #define VIRTUAL_DESKTOP_WIDTH 1024
 #define VIRTUAL_DESKTOP_HEIGHT 768
--- a/avmedia/source/vlc/wrapper/Types.hxx	2017-01-12 01:54:33.000000000 +0100
+++ b/avmedia/source/vlc/wrapper/Types.hxx	2017-01-27 20:03:39.243895504 +0100
@@ -15,6 +15,7 @@
 #if defined(_WIN32)
         typedef __int64 libvlc_time_t;
 #else
+#	include <stdint.h>
         typedef int64_t libvlc_time_t;
 #endif