[gimp/wip/nielsdg/meson-fix-test-build] app/test-xcf: include necessary headers for close()
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/nielsdg/meson-fix-test-build] app/test-xcf: include necessary headers for close()
- Date: Sun, 10 May 2020 18:15:35 +0000 (UTC)
commit 9e0810eb647af41cd0bc41b0ef0e6c7d66ca5065
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun May 10 18:21:06 2020 +0200
app/test-xcf: include necessary headers for close()
app/tests/test-xcf.c | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index cca6c4c0e9..08383b067c 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -19,6 +19,17 @@
#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+#ifdef G_OS_WIN32
+#define STRICT
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#include <io.h>
+#endif
+
#include <gegl.h>
#include <gtk/gtk.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]