[glib: 1/2] gtestutils: Include stdlib.h for exit function
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gtestutils: Include stdlib.h for exit function
- Date: Mon, 25 Apr 2022 10:27:15 +0000 (UTC)
commit 3c841f18c12824913e9801da23ea8230a0ba857b
Author: Biswapriyo Nath <nathbappai gmail com>
Date: Sat Apr 23 14:02:10 2022 +0530
gtestutils: Include stdlib.h for exit function
This fixes warning: implicit declaration of function 'exit'
glib/gtestutils.h | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/glib/gtestutils.h b/glib/gtestutils.h
index 7dee4822d3..29ca76b65f 100644
--- a/glib/gtestutils.h
+++ b/glib/gtestutils.h
@@ -28,6 +28,7 @@
#include <glib/gerror.h>
#include <glib/gslist.h>
#include <errno.h>
+#include <stdlib.h>
#include <string.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]