[pango: 1/2] tests: Fix implicit function declaration warnings with gcc
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango: 1/2] tests: Fix implicit function declaration warnings with gcc
- Date: Fri, 30 Jul 2021 03:17:04 +0000 (UTC)
commit 1016e9e85eca13bd5fe5fdd4ed4838dd3f7bb2fe
Author: Biswapriyo Nath <nathbappai gmail com>
Date: Thu Jul 29 02:25:49 2021 +0530
tests: Fix implicit function declaration warnings with gcc
This includes stdlib.h for strtol, strtoll and strtod functions declaration
tests/test-common.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/test-common.c b/tests/test-common.c
index 66493990..78ed722f 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -20,6 +20,7 @@
*/
#include <glib.h>
+#include <stdlib.h>
#include <string.h>
#include <locale.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]