[Libreoffice-commits] core.git: include/LibreOfficeKit
Tor Lillqvist
tml at collabora.com
Thu Apr 23 07:23:55 PDT 2015
include/LibreOfficeKit/LibreOfficeKitInit.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 44aa325ac22906e472b40de9577a90d9204981a3
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Apr 23 17:22:30 2015 +0300
No <unistd.h> on _WIN32
Change-Id: I9bbeb434185b1517e120b1df9d474d913c867cf1
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index 203fd9f..ae9c5a8 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -23,10 +23,11 @@ extern "C"
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-
#ifndef _WIN32
+
+ #include <unistd.h>
#include "dlfcn.h"
+
#ifdef _AIX
# include <sys/ldr.h>
#endif
More information about the Libreoffice-commits
mailing list