void-packages/srcpkgs/libreoffice/files/musl-fcntl_h.patch
2017-05-14 12:15:52 +02:00

12 lines
334 B
Diff

--- src/common/os/os_utils.h 2016-09-27 10:03:58.000000000 +0200
+++ src/common/os/os_utils.h 2017-02-04 03:05:37.357148694 +0100
@@ -29,6 +29,9 @@
#define INCLUDE_OS_FILE_UTILS_H
#include <stdio.h>
+#if !defined(__GLIBC__)
+#include <fcntl.h>
+#endif
#include "../common/classes/fb_string.h"
#include "../common/StatusArg.h"