[gcompris] minor, fixed some compilation warning.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] minor, fixed some compilation warning.
- Date: Fri, 7 Sep 2012 22:03:24 +0000 (UTC)
commit 299f977b29b6b11a383f5f0c08389d2780b1810c
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sat Sep 8 00:02:54 2012 +0200
minor, fixed some compilation warning.
src/scalesboard-activity/scale.c | 1 +
src/smallnumbers-activity/smallnumbers.c | 1 +
src/submarine-activity/submarine.c | 1 +
src/target-activity/target.c | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/scalesboard-activity/scale.c b/src/scalesboard-activity/scale.c
index ef17a67..3e5c49b 100644
--- a/src/scalesboard-activity/scale.c
+++ b/src/scalesboard-activity/scale.c
@@ -18,6 +18,7 @@
#include "gcompris/gcompris.h"
#include <string.h> // for strcmp
+#include <stdlib.h> // for abs
#define SOUNDLISTFILE PACKAGE
diff --git a/src/smallnumbers-activity/smallnumbers.c b/src/smallnumbers-activity/smallnumbers.c
index 68e2216..28edb66 100644
--- a/src/smallnumbers-activity/smallnumbers.c
+++ b/src/smallnumbers-activity/smallnumbers.c
@@ -16,6 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include <string.h>
+#include <stdlib.h> //for atoi
#include "gcompris/gcompris.h"
diff --git a/src/submarine-activity/submarine.c b/src/submarine-activity/submarine.c
index 9337df4..44e0946 100644
--- a/src/submarine-activity/submarine.c
+++ b/src/submarine-activity/submarine.c
@@ -18,6 +18,7 @@
*/
#include "gcompris/gcompris.h"
+#include <stdlib.h> // for abs
#define DEG_TO_RAD(x) M_PI*(x)/180.0
diff --git a/src/target-activity/target.c b/src/target-activity/target.c
index 9fa7c3b..c283e9b 100644
--- a/src/target-activity/target.c
+++ b/src/target-activity/target.c
@@ -17,6 +17,7 @@
*/
#include "gcompris/gcompris.h"
+#include <stdlib.h> //for atoi
#define SOUNDLISTFILE PACKAGE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]