[tepl] Fix build on MS Windows, add missing #include <stdlib.h>
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] Fix build on MS Windows, add missing #include <stdlib.h>
- Date: Sun, 11 Oct 2020 18:10:23 +0000 (UTC)
commit 729fdbd1a8b20f208929e9ffb3449818571a6014
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Oct 11 20:07:33 2020 +0200
Fix build on MS Windows, add missing #include <stdlib.h>
For the EXIT_SUCCESS and EXIT_FAILURE macros.
tests/test-space-drawer-prefs.c | 1 +
tools/shared-mime-info-list-text-plain-globs/mime-type-is-text-plain.c | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/tests/test-space-drawer-prefs.c b/tests/test-space-drawer-prefs.c
index f1d5336..bea7684 100644
--- a/tests/test-space-drawer-prefs.c
+++ b/tests/test-space-drawer-prefs.c
@@ -3,6 +3,7 @@
*/
#include <tepl/tepl.h>
+#include <stdlib.h>
typedef struct
{
diff --git a/tools/shared-mime-info-list-text-plain-globs/mime-type-is-text-plain.c
b/tools/shared-mime-info-list-text-plain-globs/mime-type-is-text-plain.c
index a361bd3..d22319d 100644
--- a/tools/shared-mime-info-list-text-plain-globs/mime-type-is-text-plain.c
+++ b/tools/shared-mime-info-list-text-plain-globs/mime-type-is-text-plain.c
@@ -3,6 +3,7 @@
*/
#include <gio/gio.h>
+#include <stdlib.h>
int
main (int argc,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]